From patchwork Fri Nov 17 14:09:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 166184 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp552749vqn; Fri, 17 Nov 2023 06:09:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGUns7t0OHeJSVzJLG8we5phemgOpsMm5XzRSAjpBdx1SqU9F1Y7Uml7XBzlv0t9Iks7XLK X-Received: by 2002:a05:6808:618f:b0:3b6:cb4b:4799 with SMTP id dn15-20020a056808618f00b003b6cb4b4799mr19103907oib.56.1700230172685; Fri, 17 Nov 2023 06:09:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700230172; cv=none; d=google.com; s=arc-20160816; b=RljzeY3Ug/tkHvtbQWqC/RVOHbfNreu/CVPmllGB+M1+SXHpA6T3ty5L3fHkxyWMHZ DpPcMFTDBPmyfHtdho82DvdaGMUkcH++VLc9oMND8vsYSd+jG5WX8Rz4i7/c5Ud1tAEs Dub5rWG9UHwqZaRrAyw9+xJpUuPCp9Jl9hAfyq21emttBD71OlB7p6gz5jQ+4IGEkiFu ZW6MdqefdLE9NIkZ8RAlurTxfYm1tXV9fgpo63Qb4plCpZBmqTCww8vkKMQRXXDQOk8t B8ZhuET/Y8NsEW9SUdHS6EEWjEQdkK3XQn+f9gCtwT8YDvbz5NTzNrVZgU7/k8he1WfH 1gzA== 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=914k5tUT5BmiNyif/UrNdBWfQ7lY9oWZhCUrozSWL9g=; fh=bgqQJGZfmpmKj8GaEgb9+0kPtUELFXonUYWw9PpyJ0g=; b=XUoKL7hnxI5vDxZ8OMTD1zhjsY8smxJAlPSx62SDJGMuKVyIprhfv05dKl5RLUDoXA NdXO2b4znhCX7CiIc0D4DA6kzN5rhO0o+ormRN278D3tCJAAGtk+batZzO3lRhTht+/4 l2Rz+6pUmcgV0e9SqcYN3HKXSd24lShmw7OoaP2VtlrUM/NOuOeXQKXsJuPoNqVGMclO 7R8iOXfOYP0XC83d/zakI5GvQlo6UFFbrbDnM7ZFQIRNHB8jnDpPnurPpEQe5xDNcfFX no94D4AiOiuv1h/7QAUfj2uJ9ZkvQx8zgdQ8NFuNX96laIwbMckttjL5IBzMZ0e+4sT6 Swhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xXIjIsgi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ep7-20020a056808444700b003ab933b8387si638987oib.112.2023.11.17.06.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 06:09:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xXIjIsgi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A12E780309BD; Fri, 17 Nov 2023 06:09:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231766AbjKQOJ1 (ORCPT + 30 others); Fri, 17 Nov 2023 09:09:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbjKQOJY (ORCPT ); Fri, 17 Nov 2023 09:09:24 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84FF0A8; Fri, 17 Nov 2023 06:09:20 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AHE9C1Q007117; Fri, 17 Nov 2023 08:09:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700230152; bh=914k5tUT5BmiNyif/UrNdBWfQ7lY9oWZhCUrozSWL9g=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xXIjIsgifb1QmYfuyf4xMZjBqoATM/mHyEya54WCJ5QKRzyfAQPLV1/x42voMkGgE HEXEpXZRTXBGeiIYgn5gVFvN+WDkScsqo36WzYBikMnym45JhpHcjqXdQzHVPd6lNQ 5Cggx26Mhpbdf5LTeSDu5Ikf8+UVascB8j7veu84= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AHE9C1X121588 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Nov 2023 08:09:12 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 17 Nov 2023 08:09:13 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE102.ent.ti.com (157.170.170.32) 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, 17 Nov 2023 08:09:13 -0600 Received: from lelv0326.itg.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AHE9BuY112757; Fri, 17 Nov 2023 08:09:12 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , CC: , , Andrew Davis Subject: [PATCH 2/5] arm64: dts: ti: k3-j784s4: Add chipid node to wkup_conf bus Date: Fri, 17 Nov 2023 08:09:07 -0600 Message-ID: <20231117140910.8747-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231117140910.8747-1-afd@ti.com> References: <20231117140910.8747-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 06:09:31 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782820553395876309 X-GMAIL-MSGID: 1782820553395876309 Like in other K3 SoCs the chipid register is inside the wakeup configuration space. Move the chipid node under a new bus to better represent this topology and match other similar SoCs. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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 adb5ea6b97321..119f4e2cc0d17 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi @@ -38,10 +38,18 @@ k3_reset: reset-controller { }; }; - chipid@43000014 { + wkup_conf: bus@43000000 { bootph-all; - compatible = "ti,am654-chipid"; - reg = <0x00 0x43000014 0x00 0x4>; + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x00 0x43000000 0x20000>; + + chipid: chipid@14 { + bootph-all; + compatible = "ti,am654-chipid"; + reg = <0x14 0x4>; + }; }; secure_proxy_sa3: mailbox@43600000 {