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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7E6AC74A44 for ; Sat, 11 Mar 2023 05:11:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbjCKFLV (ORCPT ); Sat, 11 Mar 2023 00:11:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjCKFLP (ORCPT ); Sat, 11 Mar 2023 00:11:15 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F22591CADB; Fri, 10 Mar 2023 21:11:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7103860B8C; Sat, 11 Mar 2023 05:11:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id B885CC433EF; Sat, 11 Mar 2023 05:11:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678511472; bh=cb5irgm1G4DAU5Vt0m927jUYDxIYKozT423yaayaW8s=; h=From:Subject:Date:To:Cc:Reply-To:From; b=rtYoiWNQLIm2M+k7cMe4Dob25bwDeX+SnahuKBC3SXbMfucH58dIqb1iFNVBM7hnH NYgpBBDjganhI2lpQahOeI1/o+zIUILS1QTVerPQVfx4o28enUVZfyvuOWHyi7M8id WdHIapUt7c54sRcBFAIAnvGDSw2kX7J9/vTtegmuvfoAEum+1NhGB4TeYPlVm1fZfv 2xOLp7lx/R27avMOdgDCI3MWWrAu3i+oVit/1HX5QY6p3ExvaUaah7+UfM4GsrwjdH RfOnhAeWDDPjN+Z0apVaJQys+E0r0pjNwoFqcK15Hx3L/GciWyYMP974OyMdETWZvT e+l7OvC6/thmA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93A17C678D5; Sat, 11 Mar 2023 05:11:12 +0000 (UTC) From: Sasha Finkelstein via B4 Relay Subject: [PATCH v9 0/5] PWM and keyboard backlight driver for ARM Macs Date: Sat, 11 Mar 2023 06:11:08 +0100 Message-Id: <20230214-fpwm-v9-0-dbe26bccabd6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGwNDGQC/22Nyw6DIBBFf8WwLg0qCnbV/2i64DEoSREDhrYx/ nvBVdN0ee/cc2ZDEYKFiC7VhgIkG62fcxhOFVKTmEfAVueMGtK0pKkpNsvTYc0N66XiWqsa5ak UEbAMYlZTGTsRVwjlsAQw9nX4b/ecJxtXH97Hu8RK+2NODBNsJBG9NFKTll1HJ+zjrLxDRZD4P 4hnqO+6mgui6UDpN7Tv+weMR6Z/5gAAAA== To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , - , Sasha Finkelstein , Hector Martin , Sven Peter , Alyssa Rosenzweig Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Sasha Finkelstein <7d578vix8hzw@opayq.net> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678511469; l=2133; i=fnkl.kernel@gmail.com; s=20230213; h=from:subject:message-id; bh=cb5irgm1G4DAU5Vt0m927jUYDxIYKozT423yaayaW8s=; b=DD418MqqObwyR9NLdrnm0IOz7ab33zBMKOvaaamKf3FL6VPmoIacpE7GnO0bCEhpYhzEhASDW J+2WDCdMHKCBax2yGKOHWZU2lvibFL/Y77ILM9y3z6NwFoTRr3zCo9E X-Developer-Key: i=fnkl.kernel@gmail.com; a=ed25519; pk=7LFSAJtxIWAs9LzCIyX0sSvCZy2wQTyEIu1zch6o804= X-Endpoint-Received: by B4 Relay for fnkl.kernel@gmail.com/20230213 with auth_id=28 X-Original-From: Sasha Finkelstein Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is the v9 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. Changes in v3 and v4: Addressing the review comments. Changes in v5: Added t600x device tree changes Changes in v8: Changed the overflow handling to clamp instead of erroring. Changes in v9: Missed a spot where clamping should be applied. Fixed that. v1: https://www.spinics.net/lists/linux-pwm/msg19500.html v2: https://www.spinics.net/lists/linux-pwm/msg19562.html v3: https://www.spinics.net/lists/linux-pwm/msg19901.html v4: https://www.spinics.net/lists/linux-pwm/msg20093.html v5: https://www.spinics.net/lists/linux-pwm/msg20150.html v6: https://www.spinics.net/lists/linux-pwm/msg20190.html v7: https://lore.kernel.org/r/20230214-fpwm-v7-0-fb0a6bfbd037@gmail.com v8: https://lore.kernel.org/r/20230214-fpwm-v8-0-65518a0d4944@gmail.com --- Sasha Finkelstein (5): dt-bindings: pwm: Add Apple PWM controller pwm: Add Apple PWM controller arm64: dts: apple: t8103: Add PWM controller arm64: dts: apple: t600x: Add PWM controller MAINTAINERS: Add entries for Apple PWM driver .../devicetree/bindings/pwm/apple,s5l-fpwm.yaml | 51 +++++++ MAINTAINERS | 2 + arch/arm64/boot/dts/apple/t600x-die0.dtsi | 9 ++ arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi | 18 +++ arch/arm64/boot/dts/apple/t8103-j293.dts | 17 +++ arch/arm64/boot/dts/apple/t8103-j313.dts | 17 +++ arch/arm64/boot/dts/apple/t8103.dtsi | 9 ++ drivers/pwm/Kconfig | 12 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-apple.c | 159 +++++++++++++++++++++ 10 files changed, 295 insertions(+) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230214-fpwm-d8f76bc8ddc1 Best regards, -- Sasha Finkelstein