From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751397AbdISGQA (ORCPT ); Tue, 19 Sep 2017 02:16:00 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:40065 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbdISGP6 (ORCPT ); Tue, 19 Sep 2017 02:15:58 -0400 From: Vignesh R To: Santosh Shilimkar CC: , , , Vignesh R Subject: [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Date: Tue, 19 Sep 2017 11:45:50 +0530 Message-ID: <20170919061551.11981-3-vigneshr@ti.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170919061551.11981-1-vigneshr@ti.com> References: <20170919061551.11981-1-vigneshr@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable PWM ECAP0 which will be used for display backlight. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-evm.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index f462f1043531..808618e747eb 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -81,6 +81,12 @@ K2G_CORE_IOPAD(0x1110) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* mmc1_cmd.mmc1_cmd */ >; }; + + ecap0_pins: ecap0_pins { + pinctrl-single,pins = < + K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | MUX_MODE4) /* pr1_mdio_data.ecap0_in_apwm0_out */ + >; + }; }; &uart0 { @@ -112,3 +118,9 @@ memory-region = <&dsp_common_memory>; status = "okay"; }; + +&ecap0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&ecap0_pins>; +}; -- 2.14.1