From patchwork Sun Jan 22 21:05:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9531473 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B2EE160431 for ; Sun, 22 Jan 2017 21:08:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4BD227F81 for ; Sun, 22 Jan 2017 21:08:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 991BA27F8C; Sun, 22 Jan 2017 21:08:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6C16627F81 for ; Sun, 22 Jan 2017 21:08:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cVPN0-0005tF-4w; Sun, 22 Jan 2017 21:08:14 +0000 Received: from mail-wm0-f67.google.com ([74.125.82.67]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cVPLs-0004d5-Cr; Sun, 22 Jan 2017 21:07:07 +0000 Received: by mail-wm0-f67.google.com with SMTP id c85so21568879wmi.1; Sun, 22 Jan 2017 13:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=28F4wB3gLdkPxUd5yNiz5ThP3c8vy8UzBYAxYsQsVqs=; b=MXfPHncC1RfrgynO9x6Ey5XdUBUlWQKL9CSX1wWR23aAb8PRKcfR5CIXGLAtedwFEN 3Y14aSkO19F9XqG/G4kOWbsdcKxH1tUHdm5bLLcjHIAEo8GuFMQI3JZ21nXKxMTD+oUu Xa0utt8cXhO8aA3s0PG7CrSPHjKLuXCcHEcmBurqffEJUwU+XPUViilFuRe+BdWhUxtX WMGM440jZMbXVXdMfz2O/xmr6zuvmhmmI8eUiYf2ngaXAbU37IiQ8OIjhImqkMB7z+HQ ZzN/mKr2YSzp5PsSiYnWxmPy2Ejve+r4OsOcggaAHr0FOnHR+A0jllvK2ezjjb971zrj rsqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=28F4wB3gLdkPxUd5yNiz5ThP3c8vy8UzBYAxYsQsVqs=; b=PiJVk1vq49onhbOA5JScnWvV6qNTBJGjiYcDJSYaItgy4PnC5EbGfVuKK2r09PK6zh J54/WAtqWniUORlGZmiY9AnbTBQgIwijV5LnLNufHAAs+RTR83W1HXT0CBRv59QxIZii yRqJgx2OVq+AVXi5jwJNJL+LwmWzS68mRN6KAMd+IG3CUo4iOUeGl+FWj7OPJ61hO4Rr 3Iqad5XhMDylQXRZBTChEd1ltKI6zjT8lLubqltU0PiQh5PgvMuQjlbb/NBH6jNSd9DO PVYKR4S6SWE8BSwZYm67k0w4A8mpJ6xfPdm0LcswQtB2Nxgrdw5EVMk6b3SzSsqslrAp mPZg== X-Gm-Message-State: AIkVDXKnCbt71E1w+BcBCf3BOabEDayvsRstfnYRNrDXhzC/+9IcHY2oquggk9sKScevVQ== X-Received: by 10.223.132.39 with SMTP id 36mr5480696wrf.130.1485119141714; Sun, 22 Jan 2017 13:05:41 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD3E0200408A0F52CBA7B1138.dip0.t-ipconnect.de. [2003:dc:d3e0:2004:8a0:f52c:ba7b:1138]) by smtp.googlemail.com with ESMTPSA id t194sm27127481wmd.1.2017.01.22.13.05.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jan 2017 13:05:41 -0800 (PST) From: Martin Blumenstingl To: linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org, linus.walleij@linaro.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 1/3] ARM64: dts: meson-gx: add the missing pwm_AO_ab node Date: Sun, 22 Jan 2017 22:05:26 +0100 Message-Id: <20170122210528.892-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170122210528.892-1-martin.blumenstingl@googlemail.com> References: <20170122210528.892-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170122_130704_604783_53F2C50D X-CRM114-Status: UNSURE ( 7.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Martin Blumenstingl , catalin.marinas@arm.com, will.deacon@arm.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP All Meson GX SoCs (GXBB, GXL and GXM) have a PWM controller within the AO domain. When one of the board's LEDs is connected to one of the AO PWM pins then this can be used to dim that LED (when the leds-pwm driver is used). Add the pwm_AO_ab to allow such devices to use the leds-pwm driver. Signed-off-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index c76a690967f8..3e3fb6972567 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -340,6 +340,13 @@ status = "disabled"; }; + pwm_AO_ab: pwm@550 { + compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm"; + reg = <0x0 0x00550 0x0 0x10>; + #pwm-cells = <3>; + status = "disabled"; + }; + ir: ir@580 { compatible = "amlogic,meson-gxbb-ir"; reg = <0x0 0x00580 0x0 0x40>;