Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2527722rwb; Fri, 11 Nov 2022 10:31:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf4qQMqwXIdtg+OJKspvv5LDIM3GMip5nPJkDW+9unkqQJuEW0OgsyXVR/Zdl3oBThsDSDlY X-Received: by 2002:a17:906:6d8:b0:7ad:e82b:b66b with SMTP id v24-20020a17090606d800b007ade82bb66bmr2907281ejb.453.1668191505310; Fri, 11 Nov 2022 10:31:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668191505; cv=none; d=google.com; s=arc-20160816; b=qU7bkNRnL7RebKaCz7CynKgW7fqF1O3GXGufv7kSDt4uYHA32UCjMomHbm9SXJbMX7 LHbP4srrJ+CT+1Do4j3Wj3c+NmpmGcNpzB+USJHnitOjZQHosflsFGCO0XQr2xYJpR9I UJpLCFcOPlXnQlu0wUfjkZP8m/APk9xuZNmfyagX5tA9KpNEyPsZlNll+Dlt3SENKhLk T/5DVRxI1AHzJnaMZtHNv0qEtV4VOYAJxGGmPjSAMu9Pl+tonnhzRLtKMonxwylsrQwS 1zAomsDfv2fqAUWzCCru0i6HgMkHazWI6pr+gXiFQBeHCULM6jjLvGXNLVX3WE3ca7+0 GmXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VcLz+JLectl4eq76JetIRN2RIxjnki5yQTvjxWRfAgM=; b=fHreG5NpcSxcxN/0l0BZdQMK7O3N8vRAmkaXXF9oknIyFwj2wdUjo+GwcuQAMerar+ YX8NO0RzSY1PX+k/9hRia5eN0gYByUWKxrL8tKzexcQLuaKMq2FhDYUZLlOjjdfW9ChF CWLSOnDkkNwtaEJ/SZdEhErUiQTtoCO6HshIaV1qiLAuvj1OhBs/yw3OYXXJ/yWWD3jY sGVyx23mpXQ3k72eg0IwXZKPx2PliMBr8zc79bPEDM2amWezBMKepkceW8wlOJCDK/D1 +sKvo5uXObzR1xvnJ4JFO+SdG4EXRRpbYJ8s3nmYcw+cYej+ePXSd1tmf2SFEHCS3H5R HaCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=D9eruaRg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020a170906c21700b007aaacf9c0a1si2101213ejz.129.2022.11.11.10.31.23; Fri, 11 Nov 2022 10:31:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=D9eruaRg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233998AbiKKReH (ORCPT + 91 others); Fri, 11 Nov 2022 12:34:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232968AbiKKReF (ORCPT ); Fri, 11 Nov 2022 12:34:05 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10D3761B91; Fri, 11 Nov 2022 09:34:04 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id f7so8538168edc.6; Fri, 11 Nov 2022 09:34:03 -0800 (PST) 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=VcLz+JLectl4eq76JetIRN2RIxjnki5yQTvjxWRfAgM=; b=D9eruaRgsUTg63mWpBsgzufnU+S1W0EcOItzcOWKFcDN4Fj99yc9qisypftFtx/Ou1 12/wvgaiKsjgrVniAsiC5abbCGEaX2luQRIC3lz8eStkPcrWtowlAkXozzcYRAPAyKJ7 zl6V0DJKSeAGwM1v+S3fJCR0XUpxoyoVqncMj+mtLB0oDajxjVwy1H4VB6MUHx1Aa2lx WUHFNwp6siYTeAIINk2BhlHRA+446txsPaIN8KMo0fN5GYnDMMMtJRqKZao7/iRT7KoS 5vg49szXKtScm8SjxfDxNDIXk9Tw5v2gN9wVXSEoqVin7PwGFaWTCR3IviOZQZYQKSxM DHMA== 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=VcLz+JLectl4eq76JetIRN2RIxjnki5yQTvjxWRfAgM=; b=lCSbjdBaH2SW4L6I2orjC0eqWY0xuFrlO0TEs6KtRGrtraNLR+Flea4lGVgw3POr/v Y5CCmtKY4qSXckr6kbKDHNksp+fU0WR1LuG+Ud+Kp7xtX1moilEiATGWnaxhdVQogqSB Tj8j1dm8itpjNl3P0+GOcoN6v8MUQCVeEIKZRVLFBbBOGihTJtoMrwv30GCN6oBVw8Zr 8o68U+fRGO3nwrgNFSZ5Wnjoqrqa2OZvhctzDvH9UihkDYp4ye6zNfp8p0tOv8SDgw+X Q4xFR7boHL6u6fHPOgpGtneQFtm4l7TJcr9Y4VNqjheeqca+3a6Z11ZqhRKhgVlxwuyq surg== X-Gm-Message-State: ANoB5pnrmkOoPPySAoQwIJcuqioHUxQrvcDpdx2ZtQgcmk2wV29NCUGv /rYNEDQJvbIYA3c3yXWDhPM= X-Received: by 2002:a05:6402:1bdc:b0:463:7312:a94 with SMTP id ch28-20020a0564021bdc00b0046373120a94mr2496485edb.178.1668188042536; Fri, 11 Nov 2022 09:34:02 -0800 (PST) Received: from localhost ([85.153.204.139]) by smtp.gmail.com with UTF8SMTPSA id ku21-20020a170907789500b007ae1ab8f887sm1138089ejc.14.2022.11.11.09.34.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Nov 2022 09:34:01 -0800 (PST) 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 v3 0/4] PWM and keyboard backlight driver for ARM Macs Date: Fri, 11 Nov 2022 20:33:44 +0300 Message-Id: <20221111173348.6537-1-fnkl.kernel@gmail.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is the v3 of the patch series to add PWM and keyboard backlight driver for ARM macs. Changes in v1: Addressing the review comments. Changes in v2: Added the reviewed-by and acked-by tags. Addressing a review comment. v1: https://www.spinics.net/lists/linux-pwm/msg19500.html v2: https://www.spinics.net/lists/linux-pwm/msg19562.html 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 -- 2.38.1