From patchwork Wed Nov 2 14:15:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Finkelstein X-Patchwork-Id: 13028192 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B0A5C4332F for ; Wed, 2 Nov 2022 14:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EcSfHfxwOo/iwk77srHHx4rWhub1yO/pmpmMnhkiA98=; b=cfEvEiJwRzTOp3 j58dXCjQfuVMCxXDBTFQhEngfU/l7jX14xVaof58Ez37/XkixkvjG0bBXFrdtpWfxRZk8GRyZBngb 28tXZgAUgH/w6yzHz7kQ2teQ33x67owUmYC/S+FEza8qeYrWcM3QMMKiOg1h2/ZAXD0Johr/RWpg2 2jL0/VUx3TVbFEYR57YEte6rtbpl4i5REzDdNUmU0ZA4OWRhoda2ZSY+mI4BIDJKnpiY45mGl82or KBAMT6WYcKN8nOjduIZsZqbWYNCHHGLX4ZopHELldsxdKAuBhO8XxS/LPf9Bk9SsDj1XGtC6CRKAT 5mRj+nzV6FmBNsAac4jw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqEYQ-00BSLn-JE; Wed, 02 Nov 2022 14:17:18 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqEYM-00BSJ4-Ij for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2022 14:17:17 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 21so26697395edv.3 for ; Wed, 02 Nov 2022 07:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0Tx9qzuOwx4JUlHp6FkZ/5WKZ4d6lYz+D1HQa2LD1tA=; b=EsCUjDCGvuVNc+ZigO1adhkMaFllrxPwJiMmH/+MVP0eLnT14RddOwiZVy7TvY1/qS TzksJ+8HrWbW4EVKdWXNmisIHRooHPtEA6sn7edEUQan2h5aE6kGfmye558mnGqb490m mmNXHOBMMLIS9MGKcRcVMIpIryB8zXz7brhX4cSYbY8bvBL3nBA2HtJDiP9yJjz603Mc ZzzgTlKg6SFs29tlhcNttEaAdWKteOQ9lUF89bGqD6ApUTgKQvTTivquO3oDYSIyFm+f IzVGEV+lJt7hVD2uSnsrHzTNwmqdZjEM8xsU9Q/RVATUb3MJZtio9IiyFqQvnoaFcDHv sANg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0Tx9qzuOwx4JUlHp6FkZ/5WKZ4d6lYz+D1HQa2LD1tA=; b=18TxK+HJyQH5XsNy4CpNfOLZjHRv0FCavIogpe9gv+jQR9Lc0VV610OTIisSQjLd5i cMAI7nZE8DbRx/ldQ27nuQ5fzXQkNT1DL9mRAR6Ypjun2teuYW7+8hQW1kGcBGgO0yxT 9R5iHvC8PB0VAH3e+qj1LuXCzh7W+KTNRGe3Qq999eNIu+rtFqp4T9t2CARIbBfkdw9Q UenLbvLXD20WElBr2JyMdxN/JCaUM/JQnufiXim8TM16fcAuZdH/AH9ca9kHJH92r1rR 7jv2FTG6/t7pichT+09HKEib/VhPw2/dR06NcBULSXXeJeycoMu5W4L3Mi116uJhU4iU +Y2Q== X-Gm-Message-State: ACrzQf2jNgEmbfvVgaO/MrDmjEMXKySauXsz/nIKh91SfCUuFwzlV6xG 35xayr7LiEFpvkuIuA9WkIc= X-Google-Smtp-Source: AMsMyM7uhvWm2LP2gaUwQPtrSbRrlDUn+5GMSQB+lMctsBGZd4XE5wBj+rMs0BWRyxi2RkLDFicCMA== X-Received: by 2002:a05:6402:2937:b0:461:32aa:32da with SMTP id ee55-20020a056402293700b0046132aa32damr24299542edb.78.1667398631862; Wed, 02 Nov 2022 07:17:11 -0700 (PDT) Received: from localhost ([88.227.60.86]) by smtp.gmail.com with UTF8SMTPSA id my15-20020a1709065a4f00b0078d38cda2b1sm5376305ejc.202.2022.11.02.07.17.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Nov 2022 07:17:11 -0700 (PDT) From: Sasha Finkelstein To: thierry.reding@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: marcan@marcan.st, sven@svenpeter.dev, alyssa@rosenzweig.io, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sasha Finkelstein Subject: [PATCH v2 0/4] PWM and keyboard backlight driver for ARM Macs Date: Wed, 2 Nov 2022 17:15:09 +0300 Message-Id: <20221102141513.49289-1-fnkl.kernel@gmail.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221102_071714_662381_349470B7 X-CRM114-Status: GOOD ( 14.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This is the v2 of the patch series to add PWM and keyboard backlight drivers for ARM macs. The changes from v1 address the review comments on that patch set. v1: https://www.spinics.net/lists/linux-pwm/msg19500.html Best Regards. Sasha Finkelstein (4): dt-bindings: pwm: Add Apple PWM controller pwm: Add Apple PWM controller arm64: dts: apple: t8103: Add PWM controller MAINTAINERS: Add entries for Apple PWM driver .../bindings/pwm/apple,s5l-fpwm.yaml | 51 +++++++ MAINTAINERS | 2 + arch/arm64/boot/dts/apple/t8103-j293.dts | 20 +++ arch/arm64/boot/dts/apple/t8103-j313.dts | 20 +++ arch/arm64/boot/dts/apple/t8103.dtsi | 9 ++ drivers/pwm/Kconfig | 12 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-apple.c | 127 ++++++++++++++++++ 8 files changed, 242 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml create mode 100644 drivers/pwm/pwm-apple.c Acked-by: Sven Peter