From patchwork Mon Apr 24 17:36:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13222458 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 90763C7618E for ; Mon, 24 Apr 2023 17:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UjfMfSlCnsZATfOeWxIUvKbdi+wV4xRt9Yw/q6qBoSE=; b=XFYVIqBVzLBgsx Mmd9PtyPTNWVL8U0NONKft1xCs7xlRjXQZhUMs+9qW8xYQeviTuox9lTSjMus1ZpSDEIgh2GIw/6C 8yBYVAe+Q4uWssLlpuD7cunKHoprEsFdVUkISvqUGH65B7SK+h451Qg7fRsWXhIgBZ3cwMiT8Lzjz qIy7uThHYc6H3spIfAtl98VMlkaNn7XD9lrsLjL3LFKv+coyEK0tkFsw3bGxYMzIByKwthpGkSKpe EaYdZXWzluWB7SRk1/QaPCHnwPFpBF2ayt4YswgUCc1VOqd+ZaR9ws7cv5lfiZ1psviRoWnuZ2S0N dreNpb9XkjspQy9MQb4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pr07K-00GuuK-2s; Mon, 24 Apr 2023 17:36:46 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pr078-00Gups-0O for linux-arm-kernel@lists.infradead.org; Mon, 24 Apr 2023 17:36:35 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33OHaQ3I040628; Mon, 24 Apr 2023 12:36:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682357786; bh=9ayeJIRtQb//JI+YWiHxPFkJ9qx1xULCoJlBON7T0L8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ynJWQ7qlbdzvwrf7QklCsQjEruqS5smRmUWxk2WC7UydBAJb9GYBNXnkcDMBuaUPP iyBr+qnone9Rae/DJoRJ+EdeP1bjFhxm4CkjyU1xadK4PFYL7FRC5qITPGB5bbfnYX Rm5BxeDWAZNfguxYefnbJIFP437bUH830BJIrHSA= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33OHaQVv027229 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Apr 2023 12:36:26 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 24 Apr 2023 12:36:26 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE112.ent.ti.com (10.64.6.33) 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; Mon, 24 Apr 2023 12:36:26 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33OHaQok008838; Mon, 24 Apr 2023 12:36:26 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra CC: , , , Tero Kristo , Nishanth Menon , , , Subject: [PATCH 1/3] arm64: dts: ti: k3-j7200-mcu-wakeup: Remove 0x unit address prefix from nodename Date: Mon, 24 Apr 2023 12:36:21 -0500 Message-ID: <20230424173623.477577-2-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230424173623.477577-1-nm@ti.com> References: <20230424173623.477577-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230424_103634_256334_1323DBC2 X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org unit-address should not use a 0x prefix. Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index 331b4e482e41..674e695ef844 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -62,7 +62,7 @@ wkup_pmx0: pinctrl@4301c000 { pinctrl-single,function-mask = <0xffffffff>; }; - wkup_pmx1: pinctrl@0x4301c038 { + wkup_pmx1: pinctrl@4301c038 { compatible = "pinctrl-single"; /* Proxy 0 addressing */ reg = <0x00 0x4301c038 0x00 0x8>; @@ -71,7 +71,7 @@ wkup_pmx1: pinctrl@0x4301c038 { pinctrl-single,function-mask = <0xffffffff>; }; - wkup_pmx2: pinctrl@0x4301c068 { + wkup_pmx2: pinctrl@4301c068 { compatible = "pinctrl-single"; /* Proxy 0 addressing */ reg = <0x00 0x4301c068 0x00 0xec>; @@ -80,7 +80,7 @@ wkup_pmx2: pinctrl@0x4301c068 { pinctrl-single,function-mask = <0xffffffff>; }; - wkup_pmx3: pinctrl@0x4301c174 { + wkup_pmx3: pinctrl@4301c174 { compatible = "pinctrl-single"; /* Proxy 0 addressing */ reg = <0x00 0x4301c174 0x00 0x20>; From patchwork Mon Apr 24 17:36:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13222459 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EC001C7EE20 for ; Mon, 24 Apr 2023 17:37:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oj2CRNtwFx3HDDlU9Skr8IXQCAGuwk7HBn/mDInmPiY=; b=jPdipIQ5eirNHn ysaC+K+yCx/3wYoClSwQdxTHt1xNlmk9TcktOxvtdLihkiESFOAKEvu+AZdW7l+sRENkhl2bq2ABQ StcvuTXyxb70gHDEcTI5RuSRTNqZ3bb7xUGKNkJGzczyGZJ/2gLlCvPXwf1pRG5JHQ5w919AqQqaE LiMCbRhXqS6N2EuA4/DB4bCS5HkVOTZmnoO1/4RuAyI6kCa0Pqx+Wp3Gd+j6IqIThTTBMkFKRiY+s XO7E5DFDFoP9EsuF/k2Q8QLGnlDxlDxFYEqo5pL4mTfkdf00t0bhLPoVBHTKqyNyuT4WU9vYIdBM1 3E8QmGxWwwyTAgpWCH5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pr07J-00Gutv-2i; Mon, 24 Apr 2023 17:36:45 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pr078-00Gupm-0O for linux-arm-kernel@lists.infradead.org; Mon, 24 Apr 2023 17:36:35 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33OHaQdo071279; Mon, 24 Apr 2023 12:36:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682357786; bh=EhTK3nYX9VPMkumkZLd4sClvhEq3zcLaIxI79qMvOjU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=S7JxW2u8h3jOAGTqudCxqHIDbnrIqyej0ksINr8BnGO+4HmfTf89EVY91Pa2Emq7o htjG7XdcRL5R00HHYbwDaNY5eotwyrMQphE91BE6HtfdHE9AKLaLC2DVNtuVGeZzH7 kARe3FO0xsptzemkM+q4gV5d+iU9qeMBPL+hugGo= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33OHaQjV059460 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Apr 2023 12:36:26 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 24 Apr 2023 12:36:26 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) 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; Mon, 24 Apr 2023 12:36:26 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33OHaQU7124310; Mon, 24 Apr 2023 12:36:26 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra CC: , , , Tero Kristo , Nishanth Menon , , , Subject: [PATCH 2/3] arm64: dts: ti: k3-j7200-mcu-wakeup: Switch mcu_syscon to ti,j721e-system-controller Date: Mon, 24 Apr 2023 12:36:22 -0500 Message-ID: <20230424173623.477577-3-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230424173623.477577-1-nm@ti.com> References: <20230424173623.477577-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230424_103634_204829_4CB8B7FB X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use ti,j721e-system-controller to be explicit about the syscon node we are using. Signed-off-by: Nishanth Menon --- arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index 674e695ef844..b58a31371bf3 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -35,7 +35,7 @@ k3_reset: reset-controller { }; mcu_conf: syscon@40f00000 { - compatible = "syscon", "simple-mfd"; + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; reg = <0x00 0x40f00000 0x00 0x20000>; #address-cells = <1>; #size-cells = <1>; From patchwork Mon Apr 24 17:36:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13222456 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE6E9C77B61 for ; Mon, 24 Apr 2023 17:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xE0GNA7oh9XL/GXCsnelFUr6c7LCJvvXm18a9jFBqMY=; b=T6vKO+jKBoVqsS qEJkdhZ/noZM+OZNCIe+CW5f1v3GuujcbsktGPmz6g9oBvmPqC23D9OUyuvgWl/FFcpJLS7zyrzqd SvioA7ZQqIoh+lsWNsHVpb4sJLFrI9onrF7S1hjWk8oHabYGbIGGrkmp0RB32qZEIl0iErke5SgYI x0VdHFRz6qols811vsZhtVWZtnyRdUFn9+54pgLzqQOq+P0XBgBYCe3iAhXpFSz666IkW0XJB0Hma M+Zxuj5JlHa+5p3sBZ4X9bhWfQb7YJt0e8Gg+86SDMMJDIwCM7OEXOSDgng4JmroZ6AsZIJ3E0Ape n1Xanso9MtFWiRMGYXWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pr077-00Guq2-0R; Mon, 24 Apr 2023 17:36:33 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pr073-00GupF-2r for linux-arm-kernel@lists.infradead.org; Mon, 24 Apr 2023 17:36:31 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33OHaQBD038233; Mon, 24 Apr 2023 12:36:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682357786; bh=Bt8I2phOsHTqHoFHWTAEWE9tG89MYk99aiVqmL95K18=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Jt40UfQ5lsOFjVJE4wFIIiA1NyX/9UQviM/Afezd0jfDPdT2nQCVMZALjKbmoDfJR 7RLEEl/PwosJHNcSZDGaKStT81pPRm5h1FtI3e1e/px3PK658xWgb+qdmNdJAMrMJa yLoguHliduBc/4wdGolvnk9WC3yOd6FX8CA05Geg= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33OHaQ3X027232 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Apr 2023 12:36:26 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 24 Apr 2023 12:36:26 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE104.ent.ti.com (10.64.6.25) 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; Mon, 24 Apr 2023 12:36:26 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33OHaQT6027942; Mon, 24 Apr 2023 12:36:26 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra CC: , , , Tero Kristo , Nishanth Menon , , , Subject: [PATCH 3/3] arm64: dts: ti: k3-j7200-mcu-wakeup: Split fss node up Date: Mon, 24 Apr 2023 12:36:23 -0500 Message-ID: <20230424173623.477577-4-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230424173623.477577-1-nm@ti.com> References: <20230424173623.477577-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230424_103630_003510_F3C25D03 X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org fss node claims to be entirely a syscon node, but it is really two parts of it - one a syscon that controls the hbmc mux and a simple bus where ospi, hbmc peripherals are located. So model it accordingly by splitting the node up and using ti,j721e-system-controller to describe the syscon Signed-off-by: Nishanth Menon --- .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index b58a31371bf3..7653cb191be1 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -338,18 +338,27 @@ mcu_spi2: spi@40320000 { status = "disabled"; }; - fss: syscon@47000000 { - compatible = "syscon", "simple-mfd"; + hbmc_syscon: syscon@47000000 { + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; reg = <0x00 0x47000000 0x00 0x100>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x00 0x00 0x47000000 0x100>; - hbmc_mux: hbmc-mux { + hbmc_mux: mux-controller@4 { compatible = "mmio-mux"; + reg = <0x4 0x2>; #mux-control-cells = <1>; mux-reg-masks = <0x4 0x2>; /* HBMC select */ }; + }; + + fss: bus@47030000 { + compatible = "simple-bus"; + reg = <0x0 0x47030000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <2>; + ranges; hbmc: hyperbus@47034000 { compatible = "ti,am654-hbmc";