From patchwork Fri Dec 9 11:13:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Finkelstein X-Patchwork-Id: 13069499 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62B5EC4332F for ; Fri, 9 Dec 2022 11:15:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=n8p0akfRsnNZjDUXP+7zOp+P17XEpAXSPfjE/t0i5rw=; b=OI512C4k57kfJ2 XYE/pRza8kkYFWPeXJn4+WcSFJbOWNtAWyAe2+nILdcC4w3k2aeIT70Qr0ontP5vaSuHRrq4ZS2LZ Rcd0zacj/R+KYhEm/mCYEDzbKaVnQXAzrLbbFb8n6A76CLoasGkNQldQfOCSoDmDej0m7w0uqG0cg 6ExPZsKCPba4bzEfEbf5SJp8l/D6wg3ZWji+U+LnAg68FL47PcKdW8h22TGAeu5DWR6zgA5Vh7JYT dlj1XW3OQmbFsV/gGLe9iFQjBZq2FkX+8LT+iexQNaDnrBLrO+/YtE57lb/37wa3sNRJPD791RwlE XV9vYEp5iSD3af9lIWhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3bL3-0074Ot-U4; Fri, 09 Dec 2022 11:14:46 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3bL1-0074Nk-F7 for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2022 11:14:44 +0000 Received: by mail-wm1-x330.google.com with SMTP id ay8-20020a05600c1e0800b003d0808d2826so5572069wmb.1 for ; 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=yh1WpjhRv7N+nRABjEtQqiyYOZkYEPf4NCct/o1wIa2GkNQMaoysO5hkNJG/0N/a5w +GmDJ/pI+6ape7bHLLMDyHCKSKY3J0ET1F2KVN/Cf+AepTfxYq33xWdTcKWtdxTJT6+C cOiPpPifRsTm1pMZsWcKG6MO58wewiyO+ckmIeLkXzSnK4BpTPvd6bpb2eoIAGyrL1LM UUhrGs+YsdJI8SCtYn+qaUDLkrt3we3/kbJ8bYhr4BjKxsQ4PE/GlRlO2syUoHTzwaNy bPMlfQN89gL4o64/gqknzloJlT84+OEKth+b6h8N26v36C9IdIkYoPmPbPuOOWp39vHi JyMg== X-Gm-Message-State: ANoB5pm6VKNBA94hjzsQ4XlbeDd6wpehd9R8Y+lAsjpELaTrZs4SKOE4 MHaAXFxqhfJv9nk/2O3L27Q= X-Google-Smtp-Source: AA0mqf6vJvsHf/sOnwWAxNsXK0x2d6BbzHfgigIkSOCuPrOv+Y6tlWVGrIjefUs5N4uvSBIzkS2A+Q== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221209_031443_547525_2BEA98EE X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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