Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2480440rwr; Fri, 28 Apr 2023 10:53:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sl+dsuJIGFCJ+FhOyGJnmZbcCrj+q7noxyTy+JumsHKR8o3Dqr2DSXnK9r+sMr702UlVq X-Received: by 2002:a05:6a20:a68d:b0:f0:929c:e8c5 with SMTP id ba13-20020a056a20a68d00b000f0929ce8c5mr6615039pzb.35.1682704421426; Fri, 28 Apr 2023 10:53:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682704421; cv=none; d=google.com; s=arc-20160816; b=whVjFExtE7KkmYHahY9Dcwc2tkdnXbJpXCtdoEzc/00t8zHDiimgs1HlAk38x/SU28 JpURezwW43WxY1luUt1+D8cUoeLxLU46IaTy0/xGt1gguuU+O8yY3OAlTBd402wrgK1C MZ46DJFrBFEjl8Fy0fGfICik7SUAEGvwp2WhEi3dFA+E4d0BCc24YwwnXbGucUAL5Aut OYd3U6IIxMBdaR/u7k3uQuecJWlmWtzqufiIWjPNoE4tMjoclhO2g6tKqawZKvGpeIKD XdTG8jjDAzg5VJn6Z6lscH9x3i1/V4jX2y+U1lFFtHPsVPdNMj/GcBWtG9W+VTZCp5GS nBQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UmLy3leFONTqML0fyVMnhcJxGeeiWVx5wIHVOgo9Bp0=; b=GBSEj3TGTcGHi8t6+7c1bPsSfF26lMf9vMz3XZMj1DRoF7iWJ5Dmy2XF3gntgJJzhD oScM4p9KWqrNZTt/mi2bBuSlzKvthYRx8n6sLGLW69kKjSnPSUmvXjniCytRDufPaVvP yyQ6xYJonGvf9UIGhdzStZXAPAYbejwtsppvZVkDaQPC3u+hCQISKjxRAuCbDmEXm5QR OnB2o0mk2RP+ul+ZKoQgSuNKrU4JkjUaUibYhs1VEg51+5tMn6k5mnkJWhizAVS3PZJc u44Ilj2etHd2MD/2c77yk7sSDi61dfDO/soSidY59u8swUuatyPC8w/X00O+KnGUCujV sMnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=t7TbCY7t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i21-20020a632215000000b00502f4fd0c16si20983825pgi.653.2023.04.28.10.53.26; Fri, 28 Apr 2023 10:53:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=t7TbCY7t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346104AbjD1RuJ (ORCPT + 99 others); Fri, 28 Apr 2023 13:50:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346201AbjD1RuI (ORCPT ); Fri, 28 Apr 2023 13:50:08 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34501725; Fri, 28 Apr 2023 10:50:05 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33SHntMH078361; Fri, 28 Apr 2023 12:49:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682704195; bh=UmLy3leFONTqML0fyVMnhcJxGeeiWVx5wIHVOgo9Bp0=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=t7TbCY7tEhG+ylshMCysSVXU4vAQTc97COIq7rjRJ38AP07HPKdQaMLz/SyLnNAbb pej53Y7kBTwD+RonFtf7LPZV/0ogghFnvRIo8Sym7htesBJZh9PLzMn2wPrjYkH0tz HiKDFPEuT+ZJksrjem0biHo0heUK33LIUr7atwOI= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33SHntIx082240 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Apr 2023 12:49:55 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 28 Apr 2023 12:49:54 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 28 Apr 2023 12:49:54 -0500 Received: from [10.249.133.214] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33SHnpQI034469; Fri, 28 Apr 2023 12:49:52 -0500 Message-ID: <0f553758-c2cc-ce70-47e0-99e08c2d94a1@ti.com> Date: Fri, 28 Apr 2023 23:19:51 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 1/2] arm64: dts: ti: k3-j784s4-mcu-wakeup: Add support for ADC nodes Content-Language: en-US To: Bhavya Kapoor , , CC: , , , , References: <20230412100949.850513-1-b-kapoor@ti.com> <20230412100949.850513-2-b-kapoor@ti.com> From: "Raghavendra, Vignesh" In-Reply-To: <20230412100949.850513-2-b-kapoor@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/12/2023 3:39 PM, Bhavya Kapoor wrote: > J784S4 has two instances of 8 channel ADCs in MCU domain. Add support > for both ADC nodes. > > Signed-off-by: Bhavya Kapoor > --- > .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi > index f04fcb614cbe..cb5ba5e94ec7 100644 > --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi > @@ -342,4 +342,44 @@ cpts@3d000 { > ti,cpts-periodic-outputs = <2>; > }; > }; > + > + tscadc0: tscadc@40200000 { > + compatible = "ti,am3359-tscadc"; > + reg = <0x00 0x40200000 0x00 0x1000>; > + interrupts = ; > + power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 0 0>; > + assigned-clocks = <&k3_clks 0 2>; > + assigned-clock-rates = <60000000>; > + clock-names = "fck"; > + dmas = <&main_udmap 0x7400>, > + <&main_udmap 0x7401>; Please fix alignment issue: dmas = <&main_udmap 0x7400>, <&main_udmap 0x7401>; > + dma-names = "fifo0", "fifo1"; > + status = "disabled"; > + > + adc { > + #io-channel-cells = <1>; > + compatible = "ti,am3359-adc"; Excessive indentation > + }; > + }; > + > + tscadc1: tscadc@40210000 { > + compatible = "ti,am3359-tscadc"; > + reg = <0x00 0x40210000 0x00 0x1000>; > + interrupts = ; > + power-domains = <&k3_pds 1 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 1 0>; > + assigned-clocks = <&k3_clks 1 2>; > + assigned-clock-rates = <60000000>; > + clock-names = "fck"; > + dmas = <&main_udmap 0x7402>, > + <&main_udmap 0x7403>; ditto > + dma-names = "fifo0", "fifo1"; > + status = "disabled"; > + > + adc { > + #io-channel-cells = <1>; > + compatible = "ti,am3359-adc"; Same here > + }; > + }; > };