Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp279166pxk; Wed, 2 Sep 2020 22:26:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOH/nw01MI8V3rSb7qdK5ClCR93ILdkN6M1QhLIfMtSObC5EjueaXqeLVX83W/Iwfm8K/S X-Received: by 2002:a17:906:37c1:: with SMTP id o1mr381157ejc.279.1599110790781; Wed, 02 Sep 2020 22:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599110790; cv=none; d=google.com; s=arc-20160816; b=1LhAovoZnRrXqJx9dCAwLc7AQMWOmySgSl8R4FVEsnzppyqz3fEoDcaaOPlLzod70b A/rZt1JfMhthE1QOFxSMXQ0kHlB5oL2Sqw7vySIsqzCYOMYBAZ+byp8Ad3GkHOgBdrS7 LR0qIBc+mCvZn0KlWHSUpL5OYR0rd3pIkupoPwyQbVz8ITNsC+HGBHZEPDfWLA9A1sfY dnq2Fhr5agdzm8ICeH4zN3igAdeTXak5IBmpkXTPdYFCemo6gVVURy0vYHBRaOi0RAef adb1BIO8U3lkK4Prj6hI0wRD2wDUuGqXqyuqJI6niot0L2SMAH8kxx/3Tsjrdp/mR76z xQZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gBdMuSqpoJW5+xK4b3xBor8GR+5z9HkxD1LroMmwd0o=; b=NdsCEee/cQB/h9djIa9mnKMXAfCLh4n6VInEwGZ9k+VKfvd4GDytn5lvB6CO9xDePj FTaPTDD/j3C2a61mos/beZUcZ7FO5C08FRAWTF1Xi5ehJ8TkB0gTsVefyf/zOklhBt4h +Uh2lZtAk7r7IHVVpZqeeLJrh5FntOXMs64hLSbCSyHiJKiqPX0QKRVervLZvg2X6YP7 cl2/Qp07Jdaa795rMxV2YO96qcA8aZ2m8l4nIkOA9Kzm6Eh8fNDwVk/5qpNHfZwzUogM 2ZYjD5khLCZ1Lcv7QC+s+LgaMeNis15xerqw+40UnfQtAtr2fkkzF3DG4Io4MZHLDSBR 5LLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nCwvJHb4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si1004388edw.66.2020.09.02.22.26.06; Wed, 02 Sep 2020 22:26:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nCwvJHb4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726025AbgICFZX (ORCPT + 99 others); Thu, 3 Sep 2020 01:25:23 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:38180 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbgICFZV (ORCPT ); Thu, 3 Sep 2020 01:25:21 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0835PGpK106044; Thu, 3 Sep 2020 00:25:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599110716; bh=gBdMuSqpoJW5+xK4b3xBor8GR+5z9HkxD1LroMmwd0o=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=nCwvJHb4cTIgz0czU5mwtGvPzqf1BZmnb1+bCRwz7FDsyvkjnwBvq9ktjxwy0g0jA ftWz4SrnKDvDDodTw8/luxIb45MNHjMTfmigipDi0H7LElAFpxyR46Ay1I5Ocy7QNI 54sTyMrVhG7QeSmhlH0JR8V6yH3DjxT1uqo0GO0s= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0835PGM4080260; Thu, 3 Sep 2020 00:25:16 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) 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.1979.3; Thu, 3 Sep 2020 00:25:14 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 3 Sep 2020 00:25:15 -0500 Received: from [10.250.235.166] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0835PBC9061764; Thu, 3 Sep 2020 00:25:12 -0500 Subject: Re: [PATCH 6/7] arm64: dts: ti: k3-*: Use generic adc for node names To: Nishanth Menon , Suman Anna CC: Rob Herring , Tero Kristo , , , , , , References: <20200901223059.14801-1-nm@ti.com> <20200901223059.14801-7-nm@ti.com> <60e6b790-360a-6eaf-03a3-5bb256adf215@ti.com> <20200902181820.nlvl3pfzeh4agzzi@akan> From: Vignesh Raghavendra Message-ID: <9fb2f8f4-5eeb-6190-9cbf-b28084c58a8f@ti.com> Date: Thu, 3 Sep 2020 10:55:11 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200902181820.nlvl3pfzeh4agzzi@akan> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nishanth, On 9/2/20 11:48 PM, Nishanth Menon wrote: > On 11:51-20200902, Suman Anna wrote: >> On 9/1/20 5:30 PM, Nishanth Menon wrote: >>> Use adc@ naming for nodes following standard conventions of device >>> tree (section 2.2.2 Generic Names recommendation in [1]). >>> >>> [1] https://github.com/devicetree-org/devicetree-specification/tree/v0.3 >>> >>> Suggested-by: Suman Anna >>> Signed-off-by: Nishanth Menon >>> --- >>> arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 4 ++-- >>> arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 4 ++-- >>> 2 files changed, 4 insertions(+), 4 deletions(-) >>> >>> diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi >>> index 51ca4b4d4c21..6dfec68ac865 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi >>> +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi >>> @@ -80,7 +80,7 @@ >>> #size-cells = <0>; >>> }; >>> >>> - tscadc0: tscadc@40200000 { >>> + tscadc0: adc@40200000 { >> >> OK with these changes, since these seem to be only have the adc child nodes. >> This node is essentially a parent node for touchscreen and adc child nodes. The >> driver is currently looking for "tsc" on touchscreen child nodes, but none of >> the K3 SoCs have them atm. >> > > > Vignesh: are you ok with this, care to comment? > On K3 SoCs, ADC IP is reuse from AM335x but just lacks resistive touchscreen interfaces. So, existing AM335x ADC driver is being reused for K3 devices as well. Unfortunately, ADC driver cannot be used as standalone and is dependent on MFD parent to be present... Above node represents the MFD parent and ADC itself is the child node (see arch/arm64/boot/dts/ti/k3-am654-base-board.dts). So, I recommend that we keep this node's name as tscadc in order to avoid having same name for parent and child node which will be quite confusing. Regards Vignesh