Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp720882rwl; Wed, 12 Apr 2023 03:12:10 -0700 (PDT) X-Google-Smtp-Source: AKy350bJFXGKEvOYxywj0/tND8tc5cCfdBFbym4ZVrHPJkv955B/VsAuADNy3wKhk5QZz0jP2Fn6 X-Received: by 2002:a17:90b:3ec5:b0:23a:333c:6bab with SMTP id rm5-20020a17090b3ec500b0023a333c6babmr21456696pjb.23.1681294330190; Wed, 12 Apr 2023 03:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681294330; cv=none; d=google.com; s=arc-20160816; b=RDvag7ijtRS2GCL6ZwPuy2wA/A4nAoLsQ9kJl+RgrLd8FnnSTlzFNg2IE293MhUWh+ sjcryMcK0xIpjd2ydPpl1qNSaPUGAcWoAVQ9maK+1i1Z64D4TFbsyqILM/Y8DIL8A45F pCZQ4laRrfsSgpqRdKr7JYn6gamg8A2hyVn3SnPemPQYRrKPaEhFuFoC5BfCB12XMO7G 4QV0OTLvpYRzPV+X6ThHjK5wFP2tjQt+LWq6pgDYf1h/nOEyzz0Y59o+TwrDQVDnsmGi qJAeMKISMtz9doH59XRzpSS9kLJZVQLvqXpW/ssps2RBIFGpAvVxSWchtQk6p85iCyhz aYYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VZyY9vpHZNpCMP1oVEyrXctkL+vRA75f94qPoeqOmss=; b=QK+23ZPwuK0PZtvainhWM6uOKN+sGG0UdbUySIn4Zt0QxXG6nos4ekHCAluRhBXgaL 2ls/eaEmi8+oGxFF9AXb11a616z5w4Nufsx0+EFTsxiLLfw1MwVes2U2KRhqnLA/tHBE gCu4RY9OhZNIC2vj8nrR2QR9Wd6nhdTkI4L0GpqMFTN7eoChylI/yBj2zRHC9bnxhO7g dy5GR3CeRPlXjORiGygrfbIiNcmVwdybNlX2kZNxE31L2N60/NxPZvk2bwWjteiK1cpe p+X2uydo3ajIn54fknzH6j9/wnRYK2hV3puseLK3caLU/S3m9P4d4dEPsPF4CsG+cNtn cXAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=C1feyNe3; 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 l10-20020a17090a850a00b0024695095bb3si1491282pjn.189.2023.04.12.03.11.58; Wed, 12 Apr 2023 03:12:10 -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=C1feyNe3; 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 S230354AbjDLKKH (ORCPT + 99 others); Wed, 12 Apr 2023 06:10:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230000AbjDLKKA (ORCPT ); Wed, 12 Apr 2023 06:10:00 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 011E16A78; Wed, 12 Apr 2023 03:09:58 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33CA9qLU024557; Wed, 12 Apr 2023 05:09:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681294192; bh=VZyY9vpHZNpCMP1oVEyrXctkL+vRA75f94qPoeqOmss=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=C1feyNe3VTZgx0KOeNJsyVjlGI1aEjRxRe2pL3kJ049pI+CTp35SP/RdQsL+umKwJ 98kY1Yjfus/DZrGHqtV6hT2IKsLH0qNdflKPqfn8fvBjZtz0LWVumKF2+2jrgpI5k4 qLJbhkyQ93QRYqlhjHumABFX870YvVCG5WkZ/Z5w= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33CA9qXc076070 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Apr 2023 05:09:52 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) 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.2507.16; Wed, 12 Apr 2023 05:09:52 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.2507.16 via Frontend Transport; Wed, 12 Apr 2023 05:09:52 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33CA9piA010553; Wed, 12 Apr 2023 05:09:51 -0500 From: Bhavya Kapoor To: , CC: , , , , , , Subject: [PATCH 1/2] arm64: dts: ti: k3-j784s4-mcu-wakeup: Add support for ADC nodes Date: Wed, 12 Apr 2023 15:39:48 +0530 Message-ID: <20230412100949.850513-2-b-kapoor@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230412100949.850513-1-b-kapoor@ti.com> References: <20230412100949.850513-1-b-kapoor@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,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 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>; + dma-names = "fifo0", "fifo1"; + status = "disabled"; + + adc { + #io-channel-cells = <1>; + compatible = "ti,am3359-adc"; + }; + }; + + 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>; + dma-names = "fifo0", "fifo1"; + status = "disabled"; + + adc { + #io-channel-cells = <1>; + compatible = "ti,am3359-adc"; + }; + }; }; -- 2.34.1