From patchwork Thu Jun 18 16:12:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1414 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CA3243F0D3 for ; Thu, 18 Jun 2020 18:12:38 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id e143sf4673093pfh.4 for ; Thu, 18 Jun 2020 09:12:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592496757; cv=pass; d=google.com; s=arc-20160816; b=c+z7+6G/sIzDQHkKQuW6dXQuLekTelgqKrOw3ha/dooE+g9PmAe//7ZY+xjMcG0EUp 26QqkKw/ZlJe8y7mMpbXv0iuoaxBE5zqnXkwA7LIBTxFjgFfHI7WSxeWuycr6fWXqECT /2VtHv3FZJbc77iUxxfUjAtj9seRJqnMLaWjknqFLxmK+j4jeJhQs2ygpbAXTHXdKmQl irvf7wv8q/JCKrzyRBNvc/qFUa18Nhc1u6/0dJUgGUsA/rUlM01eT8jvbsdl+gVydfk5 BHvLXE2h15y6oDgafL5JqAWkFx9xQ6jAa1pD0v3g2kN54HAD9UuKIS07Z/873MMEvgd2 tPtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=a+Ho2GO5tmA/X4UVY5MfdCnNMrJ1feECo7PzqIH4M7s=; b=nV8QvMDLtto1uzBLnkOh4z0U0Jffw/WyZSwpCEWzJf768tBndxPhdHhkl6/IZs0dUu xTJ6Vzh0h4HWnsIELQEukz2iSmJFUUe1dsypaWyocdsYb1d/soN9z7TdG4wXaEwMz+kH YBN+9Ph8GdczFbMEndUdhwXL61pn1+3miM+ZlIuMDjgQDSk4GIjnB/BOP8QLnUFCEF85 2ULL6hqa3eLEro6mAF4yeKpk3FQjZ448WV9TOJeRAgddCao2B+Uruht0+IzsIrrF6isr hHub7mkchXU18jl61vK/0tA/DWzTMHg/dz61aeB8F/nk1Tfq8QPAAN9+JRzsr3HS0WVC hBUA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qH57Z17x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=a+Ho2GO5tmA/X4UVY5MfdCnNMrJ1feECo7PzqIH4M7s=; b=eXRtXuurRyyOxixJ48T5yv5azz3tfIuiTV6CyVY8o2V9PupIhWZf9U+kYvR4IewUeF TaI/c1IJzQH5btFDGc6yGIsx25IJnr/YiXMBq3GIMWNsITRZ/cLbU5XoP4aNnNCHjAEp jr/SSjOPhC1uJl03txN1gAbogf+bzhoIuAqL8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=a+Ho2GO5tmA/X4UVY5MfdCnNMrJ1feECo7PzqIH4M7s=; b=cAIoxRHr3+gv9ZSGcD4R0rRy9v3G1fE3HEDlOPUpLO7n6gpnsaIfgrwK9hKbzXbTEs oFqZ8QmoQ6kyH8+MnqZym222N8lygfEKrMFPamCJpAMA1SbXnWtsoBfaVkjJdq2r7Au2 /qap4lGpnuQ1YuKy897krKmSggpzIBCRZkDmRvdSPj5Ux5k99NInAaaqTXbSmmSVXhB/ qE4TkaoH+MsLuwmJBEnIqXWt/UrwrkKH6meBhrzsgDMqb7XeIi2wrlhdZkkA4GeiDu73 7UIpLW04mKKBQsnr/oPsxhexjS+zGIsYENz/oftLkx1PsitlqHENaVCmrtXb0dIAHs6c OHkw== X-Gm-Message-State: AOAM5302n9nRkae6bvbtNQIJ12w3hYk//WXMNJbVJAn2dwD/HlowvavO NkWcs79TJlFoIC8PjVBS4qLhKG0m X-Google-Smtp-Source: ABdhPJzE8JdX7CpJ+WS2Nir8NcGKe96GGyxJcTnVL+Pk4V7SfrKO5oLH3vCk7QMw0GXKxWcshZKTNg== X-Received: by 2002:a17:90b:3544:: with SMTP id lt4mr5313486pjb.19.1592496757622; Thu, 18 Jun 2020 09:12:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c70d:: with SMTP id o13ls2591485pjt.0.gmail; Thu, 18 Jun 2020 09:12:37 -0700 (PDT) X-Received: by 2002:a17:902:8c92:: with SMTP id t18mr1350304plo.196.1592496757106; Thu, 18 Jun 2020 09:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592496757; cv=none; d=google.com; s=arc-20160816; b=obMDsoh3kXd3cy5MAQDR4/4yKslEbtzV9bl3UmzG3fWK9ZBQVY/OegrtXUtMUWC/wG e/TvJ4/KbANqHEsvLjL2oPjJLf+3qCeiUbyYIYLbWCWlL7qLxIL1e3k1AeWpTEUL5NS9 GBaI34v6EBAtsbibrLrI66X55fqdK5ezN7yVqMESzc3491FMMmazm7eO1A8mzqWp37xA zzc0WEAnOmQxcQwaEYJ+TqrrlyE1NYuS+4OI7YYgs5e2lu8oe7LVBRn/UsqbGuleAjZY VSJn3A10MSIb2dhxTI78e4u3svHFYWx2AskplYub7+7n/WuCbk927Oevm+yPruZECNyN vUzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=PNG3/d+L5ehzcRi6U6PvyYnWQpo3tX3ppB1BNPNmZJs=; b=w00ZPMG+bZL9UqxK4xMDBNk7P46Lg33TW1NKSgPlLx9exgYAHH6bDK+ifqzkHoxVwK jsnEryc+cDt6pxxyTA9cBhQwh4eX88O0bNFk6GkBESITqv4QRMqpqs9bkTg0ZpQRZb6A yIy8eT7XVoX91RiVw/lU9G5LYR3vXMv9uHaefZ0iEZlCSRltCzbcN0zbnJ6tgyKmAisQ jTc9aWfzwLV4aUtpFtqDd+WMY2lBo3vm36646AKHdc+eVkntVhL50C+CBuyAscefR/tm DtQ19yY0/8dHRgY9241MAjBC/qCUulT4zaSasEN6byntBBiK6gFhz0bUhQu5FLi0b49F A1AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qH57Z17x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id co6sor4049885pjb.9.2020.06.18.09.12.37 for (Google Transport Security); Thu, 18 Jun 2020 09:12:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:d485:: with SMTP id s5mr4712324pju.61.1592496756769; Thu, 18 Jun 2020 09:12:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id b3sm3247252pft.127.2020.06.18.09.12.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 09:12:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Tom Cubie , Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 1/3] ARM: dts: rockchip: radxa-dalang: Update sdmmc properties Date: Thu, 18 Jun 2020 21:42:18 +0530 Message-Id: <20200618161220.219452-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618161220.219452-1-jagan@amarulasolutions.com> References: <20200618161220.219452-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qH57Z17x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Radxa dalang carrier boards are used to mount vmarc SoM's of rk3399pro and rk3288 to make complete SBC. Among these combinations, card detection gpio, max-frequency properties are used with rk3399pro SoM but not required for rk3288 SoM based on the hardware schematics. So, let's move these sdmmc specific properties on associate vmarc dtsi to make common use of dalang carrier device tree file. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 5 +++++ arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 0a516334f1..6fd17e8a81 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -317,6 +317,11 @@ status = "okay"; }; +&sdmmc { + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + max-frequency = <150000000>; +}; + &tsadc { status = "okay"; rockchip,hw-tshut-mode = <1>; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index df3712aedf..3e54f38f0a 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -52,10 +52,8 @@ bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; - cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; disable-wp; vqmmc-supply = <&vccio_sd>; - max-frequency = <150000000>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; status = "okay";