Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4608676rwl; Mon, 3 Apr 2023 07:19:52 -0700 (PDT) X-Google-Smtp-Source: AKy350Zg8E+EnfKKmfxdXnnNr9vco1bcEzn8dOlPBPJSmNDnENt5yMF7LZtYla2A9AtWqkslOcZh X-Received: by 2002:a17:903:191:b0:1a2:22df:85a4 with SMTP id z17-20020a170903019100b001a222df85a4mr39581817plg.67.1680531592213; Mon, 03 Apr 2023 07:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680531592; cv=none; d=google.com; s=arc-20160816; b=uFWmLbZJMd3nDoqN8d23gtetwA15z3R0YDehJk3AynyUbFxaI7KAuv5NXhiigRkWya /gJy+TjZ4WFSNnTwiYT+bOB7KwyOJzdSEpaA/ZzMwlm1JYlu5J95QJGWqWt2oOH3Y+BX kXo6glpwHElWlFagyDg4owTUxbCrdPDKRPBMVjAu2TsjDPbaQlD58pqOwp2N8vDZrZA9 Tdcki8ijM8TLDxcvveOq4RfdLIaQO89LARyjYI/oszRKnOGXCtdB1H7ApdAtooMnIP8a VDnK5ByfoQA2JDQTSx9DceHoLeZAl8TSly75KBIVt8H658+7Ava0TdGGnkZ1dav+97AM oxyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=os8FZK/UZMLa21K3AlewAjLRHBP8+Ltu/Qs0zYdqpzI=; b=1FaCVlVBxM4eOhN4kaK+/FMpCVmWefod5UHgrGV7uO8/DFoQt+L0K7kpSyOhZS7j0A ajuGatJjh/4GcNB61Nc/oWRboFC5edenjImhiarSwK0v7pgoETu4Bkm6pglCOkDWvEjs fVNS8eea9j6TUHnOPyan2gsxRgopAo0N6+Vj16CZJ5wiwRTHd67oFv+EW0Vv2/1MS69I +akuYDGuabrLQ+vFXGWjV1bFqzCGxaPdNpMBe4huiax0FWtjn3pmb6a5N2mWoe5ZOTAq +z5Hi1RpjZwhpw+EuqoEk9kNkklOHfXU27zBXAACRlZ01/Y2CtZBUC5Dc4Q+yugd/KRi SrpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z4NRG8yn; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id la11-20020a170902fa0b00b001a216fddd05si7579579plb.651.2023.04.03.07.19.37; Mon, 03 Apr 2023 07:19:52 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=Z4NRG8yn; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233052AbjDCOTd (ORCPT + 99 others); Mon, 3 Apr 2023 10:19:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233040AbjDCOTc (ORCPT ); Mon, 3 Apr 2023 10:19:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B34942C9DA; Mon, 3 Apr 2023 07:19:31 -0700 (PDT) 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 501A561D16; Mon, 3 Apr 2023 14:19:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id AAB94C4339E; Mon, 3 Apr 2023 14:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680531570; bh=cb5irgm1G4DAU5Vt0m927jUYDxIYKozT423yaayaW8s=; h=From:Subject:Date:To:Cc:Reply-To:From; b=Z4NRG8yn+re0ihtZ8nE3HnmGgEwgGv4yUEELXusRqzsWr3Phm/5H1VpAOnLU7jCah 9dOqQhFT4VVJmFE9IfLS46RRcGQY+9l2sWjXfb2SvhfmRCXxEMfPmn5gkfhn6oPMoB ZdYE3KEW67nNhuYhCxDQ2XdMPu3Nm4qZATczK/BdRwe+Vsj9G1FXCh+PGtzse5vkZW 0leQubTEyS/mqY5wFPh8qbgzicIGvA2cb+1QUg4JyqErdz4W8vpg0mfOysYKk5ejoF FakB+O9gohXMDdZUtrqjl88aacELsMLpIuoR0/a5gviSPpXHLr45Lwvd5vdXm6lB7X 0pnsWIqNLQyOg== 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 974ACC76188; Mon, 3 Apr 2023 14:19:30 +0000 (UTC) From: Sasha Finkelstein via B4 Relay Subject: [PATCH RESEND v9 0/5] PWM and keyboard backlight driver for ARM Macs Date: Mon, 03 Apr 2023 16:19:18 +0200 Message-Id: <20230214-fpwm-v9-0-f3094107b16b@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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=1680531567; l=2133; i=fnkl.kernel@gmail.com; s=20230213; h=from:subject:message-id; bh=cb5irgm1G4DAU5Vt0m927jUYDxIYKozT423yaayaW8s=; b=pzYiQXvjlrSIwb8eJFmE2TpYgoVzAZGdpEORFcjhilt8iydIkPBw2D+ZV7iyUI1xA7TSiXX2Q 3nCXo0nhX01CUqxK/uJVsLE/IELnfUu42HM90nCNCuECnP/twuRgYyC 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: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_REPLYTO,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 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