From patchwork Thu Jun 18 10:08:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1397 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 543073F0D3 for ; Thu, 18 Jun 2020 12:08:56 +0200 (CEST) Received: by mail-pj1-f71.google.com with SMTP id ge4sf3608757pjb.7 for ; Thu, 18 Jun 2020 03:08:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592474934; cv=pass; d=google.com; s=arc-20160816; b=M+lJ0ErQyB9T1kpXIeHl+1FLI+coYaAub4ZabZVZkYtTe9DpcE7UhRTUObZv4gbIfT KUTahPCP/XM/nQWj+N66tuPW8xLdGAuZE+QZ4M6pzIR8Skr6xrzQ3NwBz0s7gCb+u33L V/MeciZK3EDRb+XeeG70LyTJZrAwD3m41EwE0wYa3b0EmfJR1Ap2vh2WyskJdd5XpMGf dKpXZ+uZPMdqZJI34GlehipQ79hw7n4pjv75kIotfSD8MYzM0w1d74/3CXeDb/DrP96/ 94QMmrHPPmjY9VcPwdJoQlnWCIStlpV3mihB04JNDc/NJxzS699WL4nqeXS1IMFTer1V cTfg== 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=xQY6DC4LUrwN9PwEN0LtMXpHJGLiHwtAgV3WisttDp4=; b=kpFmtG7a3w9F32ZDGoFHuDJF9s0xi+SiWOHSWyMeeILz5o2uzutEYqhQlMX0E1XVfa cfXPRTStf4O/7dZDNsOuqRXFBOGGMHIo6pn6OwFuNHQygKmb1C4EkSSP0dsqKrL9UwG6 rkfGU27NZkXHq/oHg3r4TrdCZ8C6vMkkuxzXTOoOq7uvcaMAGOPseX4G0TG8yJfLmmiA 42GsEpy1pNygOF4gTNPLDzlIVr4X9Jbe9RMKCb/l22ppkqWCBL/AR8oRtn1sFvzq0jL1 xnP0SivU633cc/gqi5gyAr1hX32UO+3ZAFWqrl55GOKQymcYmZ4LdTFYaRtth9dMHRMb qBPg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="QbTK/jye"; 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=xQY6DC4LUrwN9PwEN0LtMXpHJGLiHwtAgV3WisttDp4=; b=jq/dnmHzkcMhaBS5DbrdJJzY9Ak3NC3EvWFjAv3N0AEmnjKY5IWlJVLsy52Nj69fvl 720xrTzoJP4ejNnxaQfauwkHckQfx1B7qu6xx4MJKAPseZIH2npNJmPVz+xzANUAZMCc KZnyw20Ic5Hi0gjVHlmhEfP3mh2y/FDBjcsj8= 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=xQY6DC4LUrwN9PwEN0LtMXpHJGLiHwtAgV3WisttDp4=; b=HmjfiFiwLxBKYuswydudZRhyXiIUzLlRFqY16ToQMkqZAczrmvDn2L1mo68xswILdE YRleWx+Zdyswxc6rmUrj3FbEcP3B/UP9T6qu0k5NEAoq/hTsDa8W0Z1uJ9f0ph9yEMqX 3mFEfWHHAltTq2w4w/lbxySEDQRkpxUIzCa8fHPUjz6Rz0w/v4batGn34l7nsTVOn5uf ciJep+ckNY9n1wD1CwHhJGnGms+aUInUS+PqKmk9A119nreoEd8TUi6WJGoE0LgDNTGV KuwmHvelIYHG8SVdOsp/SvKDmZMsyJI/6yoHm9g2W3u14Qrg/uJrLE37v7FQ8dp1C5+Y w1Mg== X-Gm-Message-State: AOAM531g6CYriQSYVHJQYzAbIFdEDwYA9RBEBW9NaYffw40YwVxLGiem jaGGfC+DV+rdG9kpL82erqAEl8Dx X-Google-Smtp-Source: ABdhPJxGyqYAkwPT8PHSHicajYSZPcDZjgNja/nZtda+QHcgm0TAMURqnrjTR/mMgvJbvvp2X/a/CQ== X-Received: by 2002:a17:90a:d244:: with SMTP id o4mr3468973pjw.186.1592474934351; Thu, 18 Jun 2020 03:08:54 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:730d:: with SMTP id o13ls1463957pgc.1.gmail; Thu, 18 Jun 2020 03:08:54 -0700 (PDT) X-Received: by 2002:a63:5a17:: with SMTP id o23mr2755740pgb.218.1592474933887; Thu, 18 Jun 2020 03:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592474933; cv=none; d=google.com; s=arc-20160816; b=Kx1q6xoCbXPh289KlUbO4KSQCsoMpjgYmIOJSxDw4l9w1RrlOCaA8RGILUnB5d9sNV JmD6Ykl0hAimop8IHxy5UUmqE9tqLJJif0uBBwmjWykHTV/gFaKM+V7GCBLOj/JVejJs QuYJkzogi4bMQ11Ny8AITm9qE3X5UtLw3UcISzntA5sk9w4pOa+vxflsWjYLPUbhzwI3 KmN1tFPHla0fSUBJ19Dx1VZlB6bxhQIYpozqMbW/hP8sYkjXVMesLyfebmARcokw9/XX qytwQboAxv6fxrFPo/DOE44pwEo3eefDwrRNvY/8ubAZMZPL4SluDO7JQRe5z4Q9Q91U 5ifA== 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=P9ZVEE5llXq13I1PufGR5qegeo37MSzNvw9PjU0Fjk8=; b=Ek9vi81kgfBN9JWAzWhW7yQnHQG3Iv4LcHvCsvnasICI0QEl8g6T6w7OAoTq/Xmots ZtW2TCJmaVgAt/8Xrt6dujA9nTlmcVYsBWMm7g+M5p8CcpLCLCw2fhkysVDxRi/Nky3t TWOnT+3jXFwVl2eulssWZCfSj8CsOXX7RwTuYmbQvutDNiNdXbOu6w+JXfuVDVQLMV/P xswQvydzYZeL8z2f8v25A8hs8lgB6+xp+zI3P/NTfuhrXhumdEFBunyAZ6KJg40ZAfLY 9CHeeenW0tt2isa3dllZN/r2A/rFhrNpcMVJ7se215ipi5yaH5DRCQAEGnpNm8EMm//q qaqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="QbTK/jye"; 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 c11sor2815839pjq.7.2020.06.18.03.08.53 for (Google Transport Security); Thu, 18 Jun 2020 03:08:53 -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:f694:: with SMTP id cl20mr3587632pjb.141.1592474933565; Thu, 18 Jun 2020 03:08:53 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id o16sm2190793pgg.57.2020.06.18.03.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 03:08:52 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Tom Cubie , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH 1/4] ARM: dts: rockchip: radxa-dalang: Update sdmmc properties Date: Thu, 18 Jun 2020 15:38:29 +0530 Message-Id: <20200618100832.94202-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618100832.94202-1-jagan@amarulasolutions.com> References: <20200618100832.94202-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="QbTK/jye"; 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 --- arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi | 2 -- arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index df3712aedf8a..3e54f38f0ab6 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -52,10 +52,8 @@ &sdmmc { 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"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 0a516334f15f..6fd17e8a815f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -317,6 +317,11 @@ &sdhci { status = "okay"; }; +&sdmmc { + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + max-frequency = <150000000>; +}; + &tsadc { status = "okay"; rockchip,hw-tshut-mode = <1>;