From patchwork Tue Feb 7 02:35:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 53605 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2603626wrn; Mon, 6 Feb 2023 18:40:08 -0800 (PST) X-Google-Smtp-Source: AK7set9pj3Ho8g3qwsrqpeNhpS1SEvBqMhIH7mmFVseda2FJ7FWKQPJPubYaJH7bUFDbuKJkx98L X-Received: by 2002:a17:907:1c18:b0:878:481c:c49b with SMTP id nc24-20020a1709071c1800b00878481cc49bmr2127187ejc.1.1675737608166; Mon, 06 Feb 2023 18:40:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675737608; cv=none; d=google.com; s=arc-20160816; b=ogsw8uyp46QhZNF7JQ/ZN4iZVRsjgKb1pC/TuDbyidqX04dzPNZbrrIGa9xbAiDI58 NA+UMqIFnyUGYtQjzpr/C+E0XSi7g2B17ip3ZMxj2yzuv4bROAf9aUh4aqqJFp72KFJn 3MX1WxgKf/6unZa0zlNNES0ybS0T+MH9sENwH+XGmy1OThgYVrHsjVwJ/4H0pUafMp4t Mt51eGIHeNUufPfw5cRb9O55bqTCL80kHwk7E89HgBQ0bl47CyoqeVNmkWHTTeqIwU2j i7ppS4hWDY+dIcQKxztSSvGKC5PpaU0xGER4L2oHuccDWYm+JAs/oddQ9LzF7RKuKSJi 8Dtw== 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=mYeb7ZD1EoiqVhF8mOJL9J44Jc8uC3K3ak9TnYJl81U=; b=OzYCQKOQXfRZoTWSu4mggJMoB7jjAW7LU4sl0Ysda7CZGlYLrLU6HIHne1/drXLsX+ oUgX37F7ndGYSPW6iKFr+AXWkRwbBsqHNF7Qf+M5Xj5SMmvUi23vM5gNK6EaabNmd/Sx 5m+V4FNZO3MYcT3HG6MQXk7xEjRjbMYXu1GKBp22BMMtNX4OxPx5iZmTE3UGoKD1K1sv yW+d5+fEVHQ+9rio1GlESXgyo3aR2NlfRrCWD2WW9Wf5JxSWRPHjgAK911J6TFh5l0Ho /afG8C4TX5d7Nc3dM1WCat865G0Co6n+5UpTbv0b4BxPSHJu42Y8q44EQrbMvVjRDN5O yxYg== 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 r5-20020a170906a20500b008784bf181ebsi15667141ejy.147.2023.02.06.18.39.45; Mon, 06 Feb 2023 18:40:08 -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 S230064AbjBGCfo (ORCPT + 99 others); Mon, 6 Feb 2023 21:35:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbjBGCf1 (ORCPT ); Mon, 6 Feb 2023 21:35:27 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E7E2E360B3; Mon, 6 Feb 2023 18:35:25 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 07 Feb 2023 11:35:21 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 613CC2020780; Tue, 7 Feb 2023 11:35:21 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 7 Feb 2023 11:35:14 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 2486F7368; Tue, 7 Feb 2023 11:35:21 +0900 (JST) From: Kunihiko Hayashi To: soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Rob Herring , Krzysztof Kozlowski , Masami Hiramatsu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 8/8] arm64: dts: uniphier: Add syscon-uhs-mode to SD node Date: Tue, 7 Feb 2023 11:35:14 +0900 Message-Id: <20230207023514.29783-9-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230207023514.29783-1-hayashi.kunihiko@socionext.com> References: <20230207023514.29783-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?1757138237922982297?= X-GMAIL-MSGID: =?utf-8?q?1757138237922982297?= 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 5dace1137cd1..4e2171630272 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>; }; - syscon@59810000 { + sdctrl: syscon@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: syscon@5f800000 { diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi index f62e3048d4dc..38ccfb46ea42 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>; }; - syscon@59810000 { + sdctrl: syscon@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: syscon@5f800000 {