From patchwork Wed Jan 25 01:02:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 47993 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp24899wrn; Tue, 24 Jan 2023 17:05:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXtN588/WK53TeyhAh+w+jJxVwUn0yIKuQgbrKk+t6Rb7GPET6AyQr5FRNSDXITUOQGYYowm X-Received: by 2002:a17:906:ae86:b0:84d:3d88:dff3 with SMTP id md6-20020a170906ae8600b0084d3d88dff3mr30112509ejb.25.1674608735853; Tue, 24 Jan 2023 17:05:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674608735; cv=none; d=google.com; s=arc-20160816; b=dwE0tLIHC9mKjqeQSDoIT0Tfleap7dDl2Dg1LgeQst46DNP/9VzvSdYDTUk8MOFB5T Nb2kxE11ZkMfkPMhju1T+UtR4MIQY4sBKcYkBK7XnwfT4C4JXxpUGTuD9kuwGm5uECxB 4YwEra+IWY0AWBjWCYiygz9uZ4sX+ANm3xlINcz9SCKPi5lup5wm+khNZOE4I8iW3h2H ggzuK5BHu5DmPNNJ1k9v8Qc/cSkq9DSFMVXDZMJljKpavFlRAjTF2gh1foG3wxtx2MB5 4FHlvW50XQw5NaY+02KOzZSusQUZgdpdY9G8zH2KhHKzc02Xh189OF8sbNsjFIHLUeUu xeUQ== 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; bh=3UL9zNE7bqvbmnoxwAyGrI8oVtDi76218bPI2uqgd/A=; b=tFFg+dpFDmmjqvJDpzzU95Z3QjH7XPLK8fjaLMx6lGjiNQUtm+3Be5hI/z8k5ufvH3 x5cmfrGfzOsdr4jpd9qUBvrtc+j2tQrZJgw2FszI7NlFTtkkdhF8eZmNLIyCm24NwdDW hoaHLlufjTyoRRWym5X/RdJsrs1Yuv9d1OxOLtlXuyiybonOJeq3/BonCe9Br9kxXDzy 2ssRUay481L/0IPecbrqIliVxQbbTvI2fZg0d+q67VTJ/U2izNhfWctuzIAcC35qg1uR uKnb9t02qm0KoHj2T/WzhR4TQv+qh/dZp0o1hDRUtJJOwFF6S33x7qyuch7b3T6sRI9H IsoQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 24-20020a170906209800b007c0d88f1614si4003040ejq.342.2023.01.24.17.05.11; Tue, 24 Jan 2023 17:05:35 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234941AbjAYBCh (ORCPT + 99 others); Tue, 24 Jan 2023 20:02:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234627AbjAYBC2 (ORCPT ); Tue, 24 Jan 2023 20:02:28 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6D55B51C43; Tue, 24 Jan 2023 17:02:23 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 25 Jan 2023 10:02:19 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 70E242059054; Wed, 25 Jan 2023 10:02:19 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 25 Jan 2023 10:02:18 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id CD4813D53; Wed, 25 Jan 2023 10:02:18 +0900 (JST) From: Kunihiko Hayashi To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Masami Hiramatsu Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 5/5] arm64: dts: uniphier: Add syscon-uhs-mode to SD node Date: Wed, 25 Jan 2023 10:02:01 +0900 Message-Id: <20230125010201.28246-6-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230125010201.28246-1-hayashi.kunihiko@socionext.com> References: <20230125010201.28246-1-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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?1755954530034444031?= X-GMAIL-MSGID: =?utf-8?q?1755954530034444031?= Add sociopnext,syscon-uhs-mode prpperty to the SD node to refer the handle of the control logic node. Signed-off-by: Kunihiko Hayashi --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 3 ++- arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index 9308458f9611..687a29c9d459 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -548,7 +548,7 @@ smpctrl@59801000 { reg = <0x59801000 0x400>; }; - sdctrl@59810000 { + sdctrl: sdctrl@59810000 { compatible = "socionext,uniphier-ld20-sdctrl", "simple-mfd", "syscon"; reg = <0x59810000 0x400>; @@ -611,6 +611,7 @@ sd: mmc@5a400000 { resets = <&sd_rst 0>; bus-width = <4>; cap-sd-highspeed; + socionext,syscon-uhs-mode = <&sdctrl 0>; }; soc_glue: soc-glue@5f800000 { diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi index b0c29510a7da..4c18f54abb15 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -370,7 +370,7 @@ smpctrl@59801000 { reg = <0x59801000 0x400>; }; - sdctrl@59810000 { + sdctrl: sdctrl@59810000 { compatible = "socionext,uniphier-pxs3-sdctrl", "simple-mfd", "syscon"; reg = <0x59810000 0x400>; @@ -437,6 +437,7 @@ sd: mmc@5a400000 { sd-uhs-sdr12; sd-uhs-sdr25; sd-uhs-sdr50; + socionext,syscon-uhs-mode = <&sdctrl 0>; }; soc_glue: soc-glue@5f800000 {