Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3808819rwj; Tue, 20 Dec 2022 02:06:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXvWrsEfr9Ecug//RslsFBf0OAvWWJKAgHy9aHcwE6qUoof7atEW1+3dOSPAl3/ZEwr6rQyk X-Received: by 2002:a17:906:b752:b0:7c0:b292:e56b with SMTP id fx18-20020a170906b75200b007c0b292e56bmr1409612ejb.68.1671530812504; Tue, 20 Dec 2022 02:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671530812; cv=none; d=google.com; s=arc-20160816; b=BURhSSjnO7G8XTNHrq3P7dgV7VT1zeibQTJfipvEmCmUQKcZciBHUhVsu12+y+/fIu 3dX9dOS5nUei/b0/aSqu0sOq02wieCz6Rem09BFcLIqckezgD27u/QytkkQst0lyJUx5 IXo1ly9DXxvSHqEEcT60iBOhTRaH3050x9zcLckmjV6iZzDc+rWKuvznxCTVffl4eh9v l5nmCO+hfdA5UMsFiQ3l78z7NNaUDBwwSaREP56+PKbvuPD2uXdxiA8dsmbgDBzjcN8e N8PbByNlazlcJ0UkdJf2yLl8WeilmvhCRCC4fgzON9V9USOV0aenX/ZMdic2DYMN79wy vMgQ== 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=OnsEHsFL7EEgrc+lnGoktys9OkbTsxNg5h+5DqqylI8=; b=w36IM297t3BF927AV8mi3SRNaGSCjejbSpuL+j2s4ZVNWZFqiEOGmQ9uwfP3hFG5x9 0781Wd5Ff9EyOufCRaltUEMoMI1hX51bRB1OKlMq3vi1h2Naqamy0hTrieO/5m/GT1Lw NSGx6j9YuwTAbgQD3xVSp72lQGpg3hkhxo0ruYdZkd5Gj6cXcEEHZx1OpZ3CBVeTu1WX UFVeHR/JUVyaaj/tRIwtNAGdN3goLE6lNpZ98SP7B44BxJCEV4IwFf3YNyt1sdjdXsue /t4ScJUrn5sVrk86oBTkMnmnb32c8dCH4tKB/eK9mc/Lm8T2mMvpEqXPtg8Oz80bSzkZ q0EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tp17laKP; 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 be11-20020a1709070a4b00b007c5006e4f75si11383721ejc.643.2022.12.20.02.06.35; Tue, 20 Dec 2022 02:06:52 -0800 (PST) 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=tp17laKP; 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 S232716AbiLTJ6d (ORCPT + 70 others); Tue, 20 Dec 2022 04:58:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233845AbiLTJ5W (ORCPT ); Tue, 20 Dec 2022 04:57:22 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 772CB63D7; Tue, 20 Dec 2022 01:56:44 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2BK9uRkI033305; Tue, 20 Dec 2022 03:56:27 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1671530187; bh=OnsEHsFL7EEgrc+lnGoktys9OkbTsxNg5h+5DqqylI8=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=tp17laKP9yOh7rI81/aew0U+KqBzfvCRhBvIj1OsDW1KinwdBNRbUi+BbOlnRnlz+ lmBsgFxWaePzgwPuPcgISN/bKYf9BOM+kE1W+/b8Zj3XST6wUALLHfn9EJAr4wfWOO yq0Q49QQjcu5jtOWDXHcNZ6TA1yd+I1AofMF4uGo= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2BK9uQm0071961 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Dec 2022 03:56:27 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 20 Dec 2022 03:56:26 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 20 Dec 2022 03:56:26 -0600 Received: from [10.250.234.60] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2BK9uKXj026828; Tue, 20 Dec 2022 03:56:21 -0600 Message-ID: Date: Tue, 20 Dec 2022 15:26:20 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [EXTERNAL] Re: [PATCH] arm64: dts: ti: k3-j721s2: Add support for ADC nodes Content-Language: en-US To: Krzysztof Kozlowski , , , , CC: , , , References: <20221108073231.35008-1-b-kapoor@ti.com> From: Bhavya Kapoor In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.6 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_NONE,SPF_PASS 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 Hi, please drop this patch since the interrupt values supplied for tscadc are incorrect. On 08/11/22 23:48, Krzysztof Kozlowski wrote: > On 08/11/2022 08:32, Bhavya Kapoor wrote: >> J721S2 has two instances of 8 channel ADCs in MCU domain. Add DT nodes >> for 8 channel ADCs for J721S2. >> >> Enable ADCs present on J721S2 soc. >> >> Signed-off-by: Bhavya Kapoor >> --- >> .../dts/ti/k3-j721s2-common-proc-board.dts | 14 +++++++ >> .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 40 +++++++++++++++++++ >> 2 files changed, 54 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts >> index b210cc07c539..de9cb40273be 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts >> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts >> @@ -429,3 +429,17 @@ >> &main_mcan17 { >> status = "disabled"; >> }; >> + >> +&tscadc0 { >> + status = "okay"; >> + adc { >> + ti,adc-channels = <0 1 2 3 4 5 6 7>; >> + }; >> +}; >> + >> +&tscadc1 { >> + status = "okay"; >> + adc { >> + ti,adc-channels = <0 1 2 3 4 5 6 7>; >> + }; >> +}; >> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi >> index 4d1bfabd1313..47a7a6b500c2 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi >> @@ -299,4 +299,44 @@ >> ti,cpts-periodic-outputs = <2>; >> }; >> }; >> + >> + tscadc0: tscadc@40200000 { > Node names should be generic, so "adc" > https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > > Best regards, > Krzysztof >