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: 718278 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3v66RY3bhWz9t1C for ; Mon, 23 Jan 2017 08:05:45 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b="MXfPHncC"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751856AbdAVVFo (ORCPT ); Sun, 22 Jan 2017 16:05:44 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36020 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbdAVVFn (ORCPT ); Sun, 22 Jan 2017 16:05:43 -0500 Received: by mail-wm0-f68.google.com with SMTP id r126so21610704wmr.3; Sun, 22 Jan 2017 13:05:42 -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=UDXXHxjniBSss4wh0BhwY0qgTUFO4oBgOW+jothmdpTdz0/0UwwC/t81oXiKB0o/FC Ha0T5Z2v4QgoRR2njB2w2vs6esBhvctRF9kTah5dFxPMdzPxYMxLVQpwYfhTmarFoIRk iPvBnMpnoV7dLHqwhVBic9I0j113zBVNJbVUA2lj26OtpsY00CgqoGcRUJ0KoLHh6pis kBjUymb7rncNtzctMapSO8p5JAtl2a0gR7b4oAPqaVuN7yEyApFG1KUdP32Rf/MD+vht ecqQgjdBVGItJSjI1BfZIy7KI0f0Mz58f26RTZJW+8CNllsDjCUkI4YqR21o9YShAIdf Ubag== X-Gm-Message-State: AIkVDXJ8xU7TtI/c8CqxF162VLBApCl3PYnIUgd+7VPUnD4Z+40WQDGAcu1ECF0dfTVvNA== 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, will.deacon@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, robh+dt@kernel.org, Martin Blumenstingl 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> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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>;