Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2575973rwb; Fri, 9 Dec 2022 04:02:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf44sLIphdiFBTsvVsLogaL96rsjzBLv8UeroWl4EK1ZX/vIO6HibZ+Sv5rKm6hwJBlCdAgw X-Received: by 2002:a17:90b:1058:b0:219:9a95:ac1b with SMTP id gq24-20020a17090b105800b002199a95ac1bmr6376298pjb.21.1670587341206; Fri, 09 Dec 2022 04:02:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670587341; cv=none; d=google.com; s=arc-20160816; b=MaI3h6VtcwLRllr3Wf/On2FIj1T2TMRwnSEG2BiLN3YUQQqIRBX2hs3EpByiFMMQg/ yzurYbgfJJPwljRE28Fr1VmWb8OlvNyUBn8nQmPXknnwaScK/aX3/i8/Zq/cuMXsJ84k 4WspfBI1YNS0KSpixZbAqrCrkD1cV3ovJXE9zGFEcZEkHsgQR8UQNxgOQN/gmTtN3Htf 3DJpRGCRBqLYBjXHB4ZH0hViYW68tjgTUUv7Mjy4tpiXsEbZgd98naW5LGMtWhzmVX7Q j4jXqt698RuujImF2iHoYucnnifl6ONbIdFRp+/EI1HixB9hWdZjTh5bUjqGoazZwC+0 AyMw== 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=aptsriDL75Ig6gjid308/Jf1kFuZ73/LpGcnByUwftU=; b=gO221MxEPko3mX/lGxZ90bMlOoI+a5V3KbLFWjl7zmOJqCzSsC8dc2p8hh2OhpF5b8 h0+c1/MlNXKCk+DC9vWIv7fzv/5tiY9ADzOX3N7lBi4ljoAVRw2QJH7tZBbQrQW53M0k E/Gk0sW8PQHLQf9zpQNy3MkaQxk+VoOhW9DiZvxcABbKFVPayJneHDtfBEvEEX3luxQL UbO1r9Q6hpfHwJ03Go3UdmR8w8UHyGqOGu5m70P8Fcjpwhutrf1cvq8UiDYx2P9FYdyl MTCFjyJGHGq9CoHt8izJrQNREwn6Lo83Cja8ZZBSDVryyIHbF7TCJi6Gju3b2jShVgdJ 9tKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Tc35s68O; 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 mq16-20020a17090b381000b00219846484cbsi1704528pjb.176.2022.12.09.04.02.08; Fri, 09 Dec 2022 04:02:21 -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=Tc35s68O; 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 S229521AbiLILOp (ORCPT + 74 others); Fri, 9 Dec 2022 06:14:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiLILOm (ORCPT ); Fri, 9 Dec 2022 06:14:42 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F02B31F9DF; Fri, 9 Dec 2022 03:14:41 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id m4-20020a05600c3b0400b003d1cb516ce0so5510279wms.4; Fri, 09 Dec 2022 03:14:41 -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=aptsriDL75Ig6gjid308/Jf1kFuZ73/LpGcnByUwftU=; b=Tc35s68OF5v/x5JicHtvMLmwSH8H8p5eYTwOaTIPhnSP8L3O4gM+ZWgXAqgbmMWT6I +LQ3awlxrnDCU1IkqCWUKc5co5vIituYd4IaOGiXt2GXLJLF4mT3OpErbIfjjbX4jwqa ukD5OwKhFtqys/G5DSP1uCXyAT6H6lwqWCEuB2qyIvbM9AMuCKuq+Y1UhNR7OPrGOYzq 4X3pS+Nns9YEJTxQAsjiXjvu4R4K6db8McQ+uzd641csHEpgzAIr030PogKu+8MuvaKC JpnehUiyhcRAA1fTEQIyg2/Krxw9Wn17It8sjZ1tvIr1Wp55h93x9w63jvqWi5usu188 CEuA== 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=aptsriDL75Ig6gjid308/Jf1kFuZ73/LpGcnByUwftU=; b=jfKjZXgpX96UqSNvSoD/FU8KOrw14CnVAe1Eey7Z0oFykHqsG/Gm2z82cL8RPaYUui PbVp60xgSRPIM8L948Jszoq0MsargCDf7Q2NjJQx6jOFkLXo6nnsVOYj2Mh341cFpQO2 01bF/j12l589mZiSB379NghIFIPyp3xCDEjmBpdiCzVDNQMhUTEmAaq6r9mM2q9oSdBT AcP2L5oXdUD3rJ9iuLz37G6MDeTS2cBjfoLouBoyj3h7PSKoqdjbDHNJZAp/qk2wgW7M O080aPC/q6qjir58KiYrE2fcLFkzz8EpBWV2QgdC809f8ZBwZBaqNfb4Zk8mQaigWPsV gTsQ== X-Gm-Message-State: ANoB5pkTdHCUYAgcUhq7kEGtcv+asC2aEF2GbygKkHpYr6Q+qNPQO646 ox4UfQX89TpwjdVIQT7nP64= X-Received: by 2002:a05:600c:4e54:b0:3cf:51cf:91c with SMTP id e20-20020a05600c4e5400b003cf51cf091cmr4503087wmq.11.1670584480443; Fri, 09 Dec 2022 03:14:40 -0800 (PST) Received: from localhost ([217.131.81.52]) by smtp.gmail.com with UTF8SMTPSA id bg9-20020a05600c3c8900b003c6f3f6675bsm9149366wmb.26.2022.12.09.03.14.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Dec 2022 03:14:39 -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 v4 0/4] PWM and keyboard backlight driver for ARM Macs Date: Fri, 9 Dec 2022 14:13:09 +0300 Message-Id: <20221209111313.2701-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 v4 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: Addressing the review comments. 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 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 | 19 +++ arch/arm64/boot/dts/apple/t8103-j313.dts | 19 +++ arch/arm64/boot/dts/apple/t8103.dtsi | 9 ++ drivers/pwm/Kconfig | 12 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-apple.c | 150 ++++++++++++++++++ 8 files changed, 263 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)