Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp611065rwb; Sat, 14 Jan 2023 05:44:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXvVyMS1Io/F+7uC4ZDHj1emC5s32TK/9cmZJH3/i1j1BT0w7h0JxXEYXygdWIKQ5SarPrQ4 X-Received: by 2002:a17:906:11ce:b0:84d:3289:3287 with SMTP id o14-20020a17090611ce00b0084d32893287mr27055055eja.43.1673703876658; Sat, 14 Jan 2023 05:44:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673703876; cv=none; d=google.com; s=arc-20160816; b=RqumcH08t9Tae/ggABlU4RC48K+s8wmtZjrl1baZtg4+9Xcno2YtYNY2tAPJdhtZeP nPyaDElKDhaV8uOImV7o4xDoIuVo5sNGJ0vMhP2ZczftMXSuJQIlDCZvGQNRQ93yMuaU OqnUuGlxnQ3hqhXznn2x3R+/2kH9reFxc5hXyrUBeftZeX87k6yEivY/bb98p5tzf+NU awQYtH6aHvm55cqOmUmqafkGVTyJM6uC4x7kA3Vx+WHbwbI/vrOwNZuTPoNNZ+wItMaU Dths4z+arS6Kq9XyUTkayfGTFgLa9TUmn1CJD73xdZDxwmMRwTUN9EELAbzHqEKiyLE9 SK6w== 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=g99//iPDMyFvy/+oL6QKSbCjazZl6KWjaU9oRhSg69A=; b=QmDa3uLYiMHqlDALeNmuDkgUGha6e4o9k7xKZlF8xfVuvOsDIKB433lE+9XvgpcCU9 f7Y8M25WAjKYRYo42Jfh6a6O4nG0bgR6wruklSsbIcuqBxUDukfV30YkGU6u83Qe6ryc Jnbju9QsQ73Yn8D/EJ1H7181UXJ00xfNDitrDZ9cF/pH5nwNq0VjgWOQUa2sdc7Tpchx ynN1ggEC1vd05dWpVXKY+yLug7ScsUn3I0ndQt7dTe1d15zRyWaAM0DPLRehqMf0b7+n p+Sc1B4yFKaIatkYbBIbszesZNURJCxgWTE0vsWoWg/5Ppkkm4AjOZ4oXZDoVEvm6WQW PUoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qb7HH+w7; 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 hv9-20020a17090760c900b0086ce37e0daasi2262476ejc.789.2023.01.14.05.44.23; Sat, 14 Jan 2023 05:44:36 -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=Qb7HH+w7; 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 S229816AbjANN0i (ORCPT + 51 others); Sat, 14 Jan 2023 08:26:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjANN0c (ORCPT ); Sat, 14 Jan 2023 08:26:32 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52C5659FD; Sat, 14 Jan 2023 05:26:31 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id bk16so23371823wrb.11; Sat, 14 Jan 2023 05:26:31 -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=g99//iPDMyFvy/+oL6QKSbCjazZl6KWjaU9oRhSg69A=; b=Qb7HH+w7rp3xAgJR1Gpka6RuRPxxIMArkq/4xD/AB7fEVE8B4m4GoBFgPabInQxP24 DGKmJ/RNF0ofRA7EbLR0FltGrB0oHAjOS952ahiUaA38sxS7zJrL2y8l2OYlP+VKnFIT vJ1ieL8AhvquLoVyYHMJBg7Xmpm04JT+ACxPHRx0NxnznlK+xp9RYCtHVV5jkg4660Px kAMLrBX8wbiXOeAquft79WbwSiVN9BahjAa7fPabLMo/IvpAGKUK5cENcc8V4A4eatUx gxjTdBq0YBJQMDbYt2tI1JFiKb8lC3y4azvtL/dxpPBoeGosZO296wLAxZSPk5joGCb4 qaOQ== 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=g99//iPDMyFvy/+oL6QKSbCjazZl6KWjaU9oRhSg69A=; b=7RI0sPHPBqFJej9YqWy4iM8Ywgh+PJbp+ksRBIpEbQVfVX/Q7Rj+M8XS1ZXhTLA5EX 4qz7X8VIXwNsSN0oOWaZ7CcOsYdIBv3kXt4qfkE3m0HQm+wEddXywK87TNcmxxkHvdSF BHLtrvGQgarnenicpORD0phzr0jG5GgnwPQVJyzOckgj3w52q8hhMY7iWM2psHRBc2Ss nDyHQEkNkPeu1HnruauO1ko7Y+ry0AQsQnR9xdKultSOQ/xKoCpQlfFHA9rLPdRhSPeG 1Q1LLLPC0unyNrtdLtn9bdQNAjKTD2r+NHE8RvB2AQ7TRfvCTKOTRrg4xnjyQSiN0kN4 J6IA== X-Gm-Message-State: AFqh2ko5Vwj6GipM+WYjn9wYI7TZesw9gdJjwjH2MXI9JLOjObCjk5LN QJyTK9gHYpOFEoNagoeIJR0w3q6rDiE= X-Received: by 2002:adf:f44f:0:b0:2bd:c6ce:7bf9 with SMTP id f15-20020adff44f000000b002bdc6ce7bf9mr10462091wrp.33.1673702789767; Sat, 14 Jan 2023 05:26:29 -0800 (PST) Received: from localhost ([176.234.9.57]) by smtp.gmail.com with UTF8SMTPSA id k6-20020a5d5186000000b002bbddb89c71sm17643370wrv.67.2023.01.14.05.26.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Jan 2023 05:26:29 -0800 (PST) From: Sasha Finkelstein To: u.kleine-koenig@pengutronix.de, 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 v7 0/5] PWM and keyboard backlight driver for ARM Macs Date: Sat, 14 Jan 2023 16:25:03 +0300 Message-Id: <20230114132508.96600-1-fnkl.kernel@gmail.com> X-Mailer: git-send-email 2.37.1 (Apple Git-137.1) 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 v7 of the patch series to add PWM and keyboard backlight driver for ARM macs. No significant changes this time. Here is hoping that this time, the paint on this shed is up to everyone's standards. 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 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 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 .../bindings/pwm/apple,s5l-fpwm.yaml | 51 ++++++ MAINTAINERS | 2 + arch/arm64/boot/dts/apple/t600x-die0.dtsi | 9 + .../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(+) create mode 100644 Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml create mode 100644 drivers/pwm/pwm-apple.c -- 2.37.1 (Apple Git-137.1)