From patchwork Mon Nov 21 17:42:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Finkelstein X-Patchwork-Id: 13051493 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 4E252C43217 for ; Mon, 21 Nov 2022 17:45:43 +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=AZOj6yeKD98ZHYV3hFfAviPjtC9QBC/h8Ha4RP57N1o=; b=r15kYPhZFqNdsA HPp8jhZ/y6iwt3+R3A/FTQkHSi5fj+JMJSZ74MNd+Kmc1vtH+R4EOnXHyF5B+pV69/lzrUFww+7TD dGpPSla8bXQf0FG3AsmzOQRy8KdnZxrUTC1zq0ReoRczZqbOrQHqvnnHxaycn8UsowVeQAljsESoU wsLWBEvWP7usEw6xp+GJJGRPO1Yov9IIQc1r74Sj8WqE2Kx6/BzMUKcbttCPUkxrO9bMvDAh8j5Wb R80/nsdSEI1DSkq/jXAyp6Fq6yn0JCseV0680cG/PhH/fFS1uEobfQXCUjjd2qju1yO6JmY+C6EmG 3bUZTLkJ3Ve5yLaWT1nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxAqb-00GSHY-Up; Mon, 21 Nov 2022 17:44:46 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxAqY-00GSGH-30 for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 17:44:43 +0000 Received: by mail-ej1-x62d.google.com with SMTP id gv23so30273215ejb.3 for ; Mon, 21 Nov 2022 09:44:40 -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=RLnharg7HDG4tuhJcBKXRgEiJmoIlGVpeHO4ji1PupQ=; b=QMxs7gt0GdJyUwOlWlUC7k8EYUiuFa2UjgYIVh3FqAjs64LLxkxattfbJ6q9RN1/Xt UjgjDR2kn7+E1O5kJc+eIcAE2y5BELiDUH2a5ShKVTlU2XfWFWS8b9U615oGAaOZlu5W +zPWFpWn/EWRE8EgId63QukTU3LKvFicXp387MXKZtE87pailleizraUkcGWBTKwCAP2 jVfbC4J410Qr6kd/PVSo3cLwXm7N5Zg/bADMRrhobWTBlJ6CZV9WQQY/dObzVCwiJ7cZ /4xtai8Q71kHnPOjG0zCZtJTbCs07MeXUTmettAKy84z8xbSjOX/O2zHh+BZm0mB4WyV UmRQ== 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=RLnharg7HDG4tuhJcBKXRgEiJmoIlGVpeHO4ji1PupQ=; b=gP9V7eTd/iy08CLbpi5KD6Q8KL9EBYgoKo8+IG1RyExRQFcA22/ss4RI0B8jJHyfjt 3vpeaVRJUO1Bbw6Mxni6bHV62btbF4841HjqWv08kvtLkCMt3sQgJxlGfhbv7Y78ahuR +4992npg16nzl7dyNvjzlmMxSii6iVDdDMWGzbTUBb6Kqw/jwc0mp8ZGsbbfE3aWrolj X/fGuiAvrrP4yU+qlDx1OyELYo20U1Y+TrsYwKE/d0JbE8qg12aJrlPkQNyp6nhYcbCh MSLM8Hb6E5I1LKdjI/zy5sn3xUCYiN1MgUHyP+fVMVS40aMNDeWqoLdYkoHeZHgCGw4v +2sA== X-Gm-Message-State: ANoB5pn/EJdm6+vy20AzJDCdBEsagqDl4VaxuH9edehMwTKtpVGmqE9C Olv0lPOd8mFcLm1JZBbKR7E= X-Google-Smtp-Source: AA0mqf5hbgaT1LTR83Rgz0E8eKtIWdVjV/lZPLQv/7DyuZ4ztHtH3rHY0A0ZW3+Vs7MM7VoXiPYOwQ== X-Received: by 2002:a17:906:85d2:b0:78e:ebd:bf96 with SMTP id i18-20020a17090685d200b0078e0ebdbf96mr16597014ejy.625.1669052678827; Mon, 21 Nov 2022 09:44:38 -0800 (PST) Received: from localhost ([217.131.81.52]) by smtp.gmail.com with UTF8SMTPSA id 14-20020a170906308e00b007b29a6bec24sm5172485ejv.32.2022.11.21.09.44.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 09:44:38 -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 RESEND v3 0/4] PWM and keyboard backlight driver for ARM Macs Date: Mon, 21 Nov 2022 20:42:24 +0300 Message-Id: <20221121174228.93670-1-fnkl.kernel@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_094442_145553_C5D9D78D X-CRM114-Status: GOOD ( 13.35 ) 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 a resend of the v3 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. v1: https://www.spinics.net/lists/linux-pwm/msg19500.html v2: https://www.spinics.net/lists/linux-pwm/msg19562.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 | 20 +++ arch/arm64/boot/dts/apple/t8103-j313.dts | 20 +++ arch/arm64/boot/dts/apple/t8103.dtsi | 9 ++ drivers/pwm/Kconfig | 12 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-apple.c | 127 ++++++++++++++++++ 8 files changed, 242 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml create mode 100644 drivers/pwm/pwm-apple.c