From patchwork Sat May 13 10:13:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 93500 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp5687004vqo; Sat, 13 May 2023 03:32:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TG9w1k1VidyiczshDaNtEsfI0ON9BXC395ARdwD/Ei7/XR/r+xAPqRqlG/tQH4Mvw+WeV X-Received: by 2002:a05:6a20:3d27:b0:101:3abe:9aec with SMTP id y39-20020a056a203d2700b001013abe9aecmr20588811pzi.54.1683973953359; Sat, 13 May 2023 03:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683973953; cv=none; d=google.com; s=arc-20160816; b=dVv2xJS1R13VggvKMHkeFSQ8LcmVp6PyOMJKYhCJVMpSMT+BcavN+sJptI2M6kEatp XPKR6oacA583vpvHDjP5Ewg53bSGMYCbItNxJknnQyWpARUGGDfMc73rRtSVVRUOkpXU 9e/ZYMw2pE7ccuLkwdkypcYyP7CEFAPCsEjkOcS6XK1P3ohycjAT0qdrFY4N0/X+vt3B 16x2uO4D5skdFbfKBmRRf7R9S1NHVg3pBwRZlMS75nTz+3WQSNtpGuSWP1YAuHp0oh+6 ox/ymd51rhUFmcJVtdgVJcdK13Jr2nEQlJZZ69JmbIuCofR+gsh/WcpoydsUEPREiYPT DAOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0pxgKDR9xXJVaGLLBSKo+uFW3+UqrWs3UKUezHnn7nM=; b=RsdBQvp87gYeuBqHm4uDw0QS9LT9ZdUBJb5ORb9QDynjCZMjEQ0alY1YojRqbzNiar wGmRGb8rxPa6NjuBYbZtFmKSSGBoRN8x/9TZGEtl8pnW2wu9P19x8xJT3miGrAmNX0cP lY2SG68NAk/p+HwYPMTfYNCbXA/HBwW8flq68Jhf8lSNRgnivQz5/p6+X6bxrzP8h8d6 Dizm7RZhpeCD9BAl61KERnqewWzBOhbjjZgC0xjOR4i+7TBQKDqZAQerzimFRLETuLF7 O+kM2IifTcnPXPXMoxCUZi7obv/1X0qqnfAoLs9e8ugYswM+59IEflD+nnwjVDeYaLn8 E7ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PTrxko8i; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e2-20020a17090a4a0200b0024bfa14eaaasi14382972pjh.51.2023.05.13.03.32.21; Sat, 13 May 2023 03:32:33 -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=PTrxko8i; 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 S233861AbjEMKOH (ORCPT + 99 others); Sat, 13 May 2023 06:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237502AbjEMKOE (ORCPT ); Sat, 13 May 2023 06:14:04 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B98CA4EC9; Sat, 13 May 2023 03:14:00 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34DADl8D041495; Sat, 13 May 2023 05:13:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683972827; bh=0pxgKDR9xXJVaGLLBSKo+uFW3+UqrWs3UKUezHnn7nM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PTrxko8in0fdYKs+tJzQ3T5by//rq6IfmnwdmaEi01s+ZUmlhG6YFv6lpZTaqkWnQ VLlZe/u988nylYSjmEVX3+SEADFa/L464ic3BFubRgbqCeyZlYLiD8irhXI8k9x6l/ BUAwh8+VTJSbMEL2rMJgZuRKt0l/z9UM17/PXA9U= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34DADlsH008043 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 13 May 2023 05:13:47 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 13 May 2023 05:13:47 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE102.ent.ti.com (10.64.6.23) 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; Sat, 13 May 2023 05:13:47 -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 34DADjBx019442; Sat, 13 May 2023 05:13:46 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH v3 1/2] arm64: dts: ti: k3-j7200-mcu-wakeup: Switch mcu_syscon to ti,j721e-system-controller Date: Sat, 13 May 2023 15:43:42 +0530 Message-ID: <20230513101343.785-2-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230513101343.785-1-vaishnav.a@ti.com> References: <20230513101343.785-1-vaishnav.a@ti.com> MIME-Version: 1.0 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,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765774671865895170?= X-GMAIL-MSGID: =?utf-8?q?1765774671865895170?= From: Nishanth Menon Use ti,j721e-system-controller to be explicit about the syscon node we are using. Signed-off-by: Nishanth Menon Signed-off-by: Vaishnav Achath --- No changes since V1. 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 @@ }; 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 Sat May 13 10:13:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 93499 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp5684988vqo; Sat, 13 May 2023 03:27:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ECpy1krs8Wg0L/B1FNjsrSvtqRGE+ZiMcyLSQUGgaLjj65qYHSj2ySch4SiRTvPrrmOly X-Received: by 2002:a05:6a20:734c:b0:104:c3cf:1c53 with SMTP id v12-20020a056a20734c00b00104c3cf1c53mr4588914pzc.3.1683973656915; Sat, 13 May 2023 03:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683973656; cv=none; d=google.com; s=arc-20160816; b=nHIUzOfin4qHy8kHHR6FNph2FsFQBown1i/s6IV2xpjahiEYjKg5aVyKOJp380/JIn Cco33M1FYqwT7Qsh8v1j0pY/VafNOHqaM8yOQpQlzDTNCpj+0MQBlPW15HKEJtfp6I3r i6MQlCIyujfwePhtScOhKlEii8EOOPI0QK52lu4VVR0cM5DyCnZWSRbfcAJa+wV2FtdE KXILYVYSpt8TFYuqe/9Ib6WcNWhdNw4q287/JruINPhogTOjLiXjXnXbQjg6riH1R8/N 2vklL2CvIBeRA188OTiR2RSxt+soDexGgLGSc2xP9ecKmfSDjDU/8WeajriHpW8Oxua2 aiCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QP9DLvpI2LxPsticdZKwk8ul13y1Xt9EKIf/9b5Kiwo=; b=uoY5nZWImc08XvFJJUMxMplgUsy6Zg2rFnGVTHhRIMcw8iYr7K50LWaOtg0fFuxhIQ NGW1Jnb5C7+iwK0YkDlfnOOqn1XVEp71ZkJHmKJlwHfeZ/JWvDuuRkD7/jPeDSA/L8R8 LQrfAGhEZxt6aPvA5lkxLHkG9N4YnjMYUANuMnvan4ugizepnmVE2676zVGwws5orG2G 14UAeiC7ojG5ggXiq2Uy9oUPYEafR2LPuKpK0hVp6wdGvH09jxnFhe9/8afG1A2U36eG 0duhckn/iQNQwv3pV7ClB1FmY5vsOghHmq0kkZhaktIzxXdGb4l3lPJ6a8Xqi6Sb/+3m tFEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FOuxbSnq; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l26-20020a63701a000000b0051b3ea27f98si12215705pgc.629.2023.05.13.03.27.21; Sat, 13 May 2023 03:27:36 -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=FOuxbSnq; 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 S238458AbjEMKOK (ORCPT + 99 others); Sat, 13 May 2023 06:14:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238270AbjEMKOE (ORCPT ); Sat, 13 May 2023 06:14:04 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D81C14EEB; Sat, 13 May 2023 03:14:00 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34DADnqZ064579; Sat, 13 May 2023 05:13:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683972829; bh=QP9DLvpI2LxPsticdZKwk8ul13y1Xt9EKIf/9b5Kiwo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FOuxbSnq337fJurJ/347oAcyZxK9AA5WZztlmltrnmWgt+Son+CtZlqgiBdYxxUZq dNXS7Brs1EJSuJPOZyqRNBQlaBSKOVAKZHwu83f0GGgv0OAzxfEcMWYKjoT3uoOtom Qr0sim9ZN2glKBxC7E5Nccxf21F5boxXirJlmxIU= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34DADnVD039626 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 13 May 2023 05:13:49 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) 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.23; Sat, 13 May 2023 05:13:48 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) 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; Sat, 13 May 2023 05:13:48 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34DADl3f123835; Sat, 13 May 2023 05:13:48 -0500 From: Vaishnav Achath To: , , , , CC: , , , , , Subject: [PATCH v3 2/2] arm64: dts: ti: k3-j7200-mcu-wakeup: Update fss node and hbmc_mux Date: Sat, 13 May 2023 15:43:43 +0530 Message-ID: <20230513101343.785-3-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230513101343.785-1-vaishnav.a@ti.com> References: <20230513101343.785-1-vaishnav.a@ti.com> MIME-Version: 1.0 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,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765774361008057667?= X-GMAIL-MSGID: =?utf-8?q?1765774361008057667?= From: Nishanth Menon FSS node claims to be a syscon node, while it actually is a simple bus where OSPI, HBMC peripherals are located and a mux for path select between OSPI and Hyperbus which can be modelled as a reg-mux. So model it accordingly and use reg-mux to describe the hbmc_mux. Signed-off-by: Nishanth Menon Signed-off-by: Vaishnav Achath --- V2->V3: * Keep register regions unchanged as it is correct according to memory map. * Update commit messages as per Vignesh's suggestion. V1->V2: * Address feedback from Udit to limit the FSS register region size as per TRM. * Use reg-mux changes to simplify the hbmc-mux modelling. * Update commit message to reflect changes. Depends on: https://lore.kernel.org/all/20230424184810.29453-1-afd@ti.com/ arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 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..a7dd771b83e2 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -338,15 +338,16 @@ status = "disabled"; }; - fss: syscon@47000000 { - compatible = "syscon", "simple-mfd"; + fss: bus@47000000 { + compatible = "simple-bus"; reg = <0x00 0x47000000 0x00 0x100>; #address-cells = <2>; #size-cells = <2>; ranges; - hbmc_mux: hbmc-mux { - compatible = "mmio-mux"; + hbmc_mux: mux-controller@47000004 { + compatible = "reg-mux"; + reg = <0x00 0x47000004 0x00 0x2>; #mux-control-cells = <1>; mux-reg-masks = <0x4 0x2>; /* HBMC select */ };