From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACF32C07E95 for ; Mon, 19 Jul 2021 15:25:09 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 6450161221 for ; Mon, 19 Jul 2021 15:25:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6450161221 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3i7YE5poZrUvgiIhyxu3Zeg7O6ZYMkLI7s8KqAPzQhE=; b=fnCRMu9vuwPZGs Bu1kJyfJCiissSKvmvj6xGrIq61nWjzhi2p+62iperV2POGED3ZHboLKEeOhBgrSgaIQyTxLIbtk8 CFgmQS9oyElFNwroJqD/phKt+EEt6GuPXrTaKenftzcYoLh68tgNsVDKyf5UpprUiXu8rou404FYK ch2DO7orU/mdduJn41JPFWx7nSYEvP0E/6Ap8maSBOswq5OmyeTF/mgt3x9Q1VFKn2rYqkMJCeYmb UckUPlorSmK9BmMT/8JDEcPJUGnPm7BqZ68H3L8kOTA9xeynIGtXgS6cdckJ9VtzGABXohwcWD6TS 7KB2zHvr8hxz+7xUHMZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5V7O-00A4dm-6b; Mon, 19 Jul 2021 15:23:42 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5V7B-00A4Z3-2B for linux-arm-kernel@lists.infradead.org; Mon, 19 Jul 2021 15:23:30 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 16JFNRrj095302; Mon, 19 Jul 2021 10:23:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1626708207; bh=+lxuCFG7CjSWwyH88HP6Xk82R9fNuIwH8NsBGZrwyAY=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=HOSw8CRzAkxyPC4CGVTqX9eCRIovDPwQYAA8eNewjIhMKkp4ql484xvKNSRG00SyY zLE3uckzk54wOubU5oYfsr3LtVShP36MHCm5nBi2r5lOT7GV32zE0ksEKdHeIvc2Dw 3jyW5q4gkSbt348aPyl2EgiKYXNyVBVEhEav9DFk= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 16JFNRC1116311 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Jul 2021 10:23:27 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 19 Jul 2021 10:23:27 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 19 Jul 2021 10:23:27 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 16JFNQk0032744; Mon, 19 Jul 2021 10:23:26 -0500 Date: Mon, 19 Jul 2021 10:23:26 -0500 From: Nishanth Menon To: Lokesh Vutla CC: , Device Tree Mailing List , Rob Herring , Linux ARM Mailing List , Subject: Re: [PATCH 3/4] arm64: dts: ti: k3-am642-sk: Add ecap0 node Message-ID: <20210719152326.op7ii76nvk5sve2a@fringe> References: <20210719085402.28569-1-lokeshvutla@ti.com> <20210719085402.28569-4-lokeshvutla@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210719085402.28569-4-lokeshvutla@ti.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210719_082329_248258_09DBD512 X-CRM114-Status: GOOD ( 19.23 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 14:24-20210719, Lokesh Vutla wrote: > ecap0 can be configured to use pad ECAP0_IN_APWM_OUT (D18) which has a > signal connected to Pin 1 of J3. Add support for adding this pinmux so > that pwm can be observed on pin 1 of Header J3 > > Signed-off-by: Lokesh Vutla > Signed-off-by: Vignesh Raghavendra > --- > arch/arm64/boot/dts/ti/k3-am642-sk.dts | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts > index d3aa2901e6fd..eb0d10e6e787 100644 > --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts > @@ -210,6 +210,12 @@ AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */ > AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */ > >; > }; > + > + main_ecap0_pins_default: main-ecap0-pins-default { > + pinctrl-single,pins = < > + AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */ > + >; > + }; > }; > > &mcu_uart0 { > @@ -453,3 +459,9 @@ &pcie0_rc { > &pcie0_ep { > status = "disabled"; > }; > + > +&ecap0 { > + /* PWM is available on Pin 1 of header J3 */ > + pinctrl-names = "default"; > + pinctrl-0 = <&main_ecap0_pins_default>; > +}; > -- > 2.30.0 > Do the other ecap and pwm nodes need to be disabled since they may not be pinned out? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel