Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp821125pxj; Wed, 2 Jun 2021 12:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRuguMF32lhx44CVXiUiWZVHygKZAtUM2CKj3kiJT6qi+ZlMW2DXohFNVZ8mtV2sCYAhWJ X-Received: by 2002:a17:906:1dc2:: with SMTP id v2mr36258354ejh.8.1622661469869; Wed, 02 Jun 2021 12:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622661469; cv=none; d=google.com; s=arc-20160816; b=mreixPGfzGt5IglUGEqQqFwvKKgMokZDKeHKu34T6oL4NZni2h+GHdfjtHKjtj3DWL P0aHy4xUiOQY59d+YrTjEw0tJv9ShTyXpCc4nwW6NOwTQcBnCICfO0OCyH9yijl9Yfnp JsygevT+XHdguwsG5WoIgN6SHOw9XXbYcY0SK8bnP3BbX8ff+N7GrXScN1kIamujo9zT rO4llRez/u+zANUnShwm3g3m3LOeGzQo77xrygeNqSvl2mL+aQlMUiqMFDmKsWn3g64E 0+IArvEI2eWiBQpadoUBveVAfOr3H/sGynQqpdkgZlgWOTG0hlS7o+8fzMIOROYG7GrI MeJA== 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 :dkim-signature; bh=J40pfNO1z/oZg+T4JrMxCJAgL+ophFd41F1h06L9GdE=; b=aGrBaS818lAmEuttq59fPRDSUHrmUjxd5lU/eaJ8HQRVHCVWaFBBvrCuzOLIpKqQfE 9JULjYAZmNRpuh5GIJg+m+xdc4zLkFQpU+85ApKYhgs1e2AP5lUkThRgSzs0IL9z68CG yg3ROgwLLO4IvsWTPlGGFij9wIcOxszDnXJKd9jSrw0JhFk5AbWEl7/m5Lr5Bl4b36Xm oFNgfsFHtRQhNUUWqz7t9Xvi3Zb3zzVwK4GQbw1NJVUAVHhlNsMor2hlqeDtyhHimEte DPEZefMl/e1ZNe31gbwiScrxttBYFUZlPWOXlzibD/L4OWx9aUiyE0Nu2MRTgMCDQt1/ w+Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WEMdAm8+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t24si579185ejy.142.2021.06.02.12.17.03; Wed, 02 Jun 2021 12:17:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WEMdAm8+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229635AbhFBTRb (ORCPT + 99 others); Wed, 2 Jun 2021 15:17:31 -0400 Received: from mail-pg1-f174.google.com ([209.85.215.174]:39733 "EHLO mail-pg1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbhFBTRW (ORCPT ); Wed, 2 Jun 2021 15:17:22 -0400 Received: by mail-pg1-f174.google.com with SMTP id v14so3068335pgi.6 for ; Wed, 02 Jun 2021 12:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J40pfNO1z/oZg+T4JrMxCJAgL+ophFd41F1h06L9GdE=; b=WEMdAm8+lkl9uEEDDxAZQtW7EiRrXcohh0GjVMtJhqXlryWGd/2uD/H1Ud0t8f1BqN B80plYSnkXr9bzGa/3yKeR83kHiEmCPXWwEg8WQjcaLexv0Ia6SRFZAps6GdK02EN7tA eT415vcx1oikWTSxWFIhJrFEy4bBVu5zw1QFA= 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:content-transfer-encoding; bh=J40pfNO1z/oZg+T4JrMxCJAgL+ophFd41F1h06L9GdE=; b=O61yTe5YOmXxGa9LB4wW/8VB6IQa/XEKgnwj4lUF8uG8T+nZZY1jmL4HsWI75KDAs7 pePX8DmIcmyiE1HyvSEHnZ1YZl0qe76iOHLa5Sxws1cz+a9/ZnTcpfRYjaW7b6laNcVy lYvYcrKTDBBQ+g031biKZgTyq2YdVjdHKlsEgVMQHUnuEyPCkgFlfefaDUJDPHfgtNPc 5pRUGUdhQhX9hhhwjGk+TVks2Ssq/gG9psBdgy0khpDbooySJ1FArLTKxe/l42CTDkjZ wGLzTvAAcH/DmXM/q+lTP1aZavidMjryNFKdgvNBkq19W6v7OcW96wogHvQGwtKZkTna Hj9Q== X-Gm-Message-State: AOAM533vTNGji43J5AWh7+zTOFlub6zGhbBOFE2a965LIEM0bu57F6/l NBMtiHxCEzdABiTHHq+95EmkoQ== X-Received: by 2002:aa7:8585:0:b029:2e9:a990:fd48 with SMTP id w5-20020aa785850000b02902e9a990fd48mr22641989pfn.16.1622661254559; Wed, 02 Jun 2021 12:14:14 -0700 (PDT) Received: from sujitka-glaptop.hsd1.ca.comcast.net ([2601:646:8e00:b2f0:3c25:f769:d7de:98bd]) by smtp.gmail.com with ESMTPSA id z17sm329242pfq.218.2021.06.02.12.14.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 12:14:14 -0700 (PDT) From: Sujit Kautkar To: Andy Gross , Bjorn Andersson , Rob Herring Cc: Sibi Sankar , Doug Anderson , Rajendra Nayak , Sujit Kautkar , Mark Rutland , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/2] arm64: dts: qcom: sc7180: Move sdc pinconf to board specific DT files Date: Wed, 2 Jun 2021 12:13:39 -0700 Message-Id: <20210602121313.v3.1.Ia83c80aec3b9535f01441247b6c3fb6f80b0ec7f@changeid> X-Mailer: git-send-email 2.32.0.rc0.204.g9fa02ecfa5-goog In-Reply-To: <20210602191338.1995827-1-sujitka@chromium.org> References: <20210602191338.1995827-1-sujitka@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move sdc1/sdc2 pinconf from SoC specific DT file to board specific DT files Signed-off-by: Sujit Kautkar --- (no changes since v1) arch/arm64/boot/dts/qcom/sc7180-idp.dts | 102 +++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 102 +++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7180.dtsi | 102 ------------------- 3 files changed, 204 insertions(+), 102 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts index e77a7926034a7..07133e0af581a 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -598,4 +598,106 @@ pinconf-rx { bias-pull-up; }; }; + + sdc1_on: sdc1-on { + pinconf-clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <16>; + }; + + pinconf-cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-data { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc1_off: sdc1-off { + pinconf-clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <2>; + }; + + pinconf-cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-data { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc2_on: sdc2-on { + pinconf-clk { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <16>; + }; + + pinconf-cmd { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-data { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-sd-cd { + pins = "gpio69"; + bias-pull-up; + drive-strength = <2>; + }; + }; + + sdc2_off: sdc2-off { + pinconf-clk { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <2>; + }; + + pinconf-cmd { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-data { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-sd-cd { + pins = "gpio69"; + bias-disable; + drive-strength = <2>; + }; + }; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 609f0ceafd095..d128a0ed6ad3a 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -1540,4 +1540,106 @@ pinconf { drive-strength = <2>; }; }; + + sdc1_on: sdc1-on { + pinconf-clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <16>; + }; + + pinconf-cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-data { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc1_off: sdc1-off { + pinconf-clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <2>; + }; + + pinconf-cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-data { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc2_on: sdc2-on { + pinconf-clk { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <16>; + }; + + pinconf-cmd { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-data { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <10>; + }; + + pinconf-sd-cd { + pins = "gpio69"; + bias-pull-up; + drive-strength = <2>; + }; + }; + + sdc2_off: sdc2-off { + pinconf-clk { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <2>; + }; + + pinconf-cmd { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-data { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <2>; + }; + + pinconf-sd-cd { + pins = "gpio69"; + bias-disable; + drive-strength = <2>; + }; + }; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 1fc328ba0403e..0630a9c410b58 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1872,108 +1872,6 @@ pinmux { function = "lpass_ext"; }; }; - - sdc1_on: sdc1-on { - pinconf-clk { - pins = "sdc1_clk"; - bias-disable; - drive-strength = <16>; - }; - - pinconf-cmd { - pins = "sdc1_cmd"; - bias-pull-up; - drive-strength = <10>; - }; - - pinconf-data { - pins = "sdc1_data"; - bias-pull-up; - drive-strength = <10>; - }; - - pinconf-rclk { - pins = "sdc1_rclk"; - bias-pull-down; - }; - }; - - sdc1_off: sdc1-off { - pinconf-clk { - pins = "sdc1_clk"; - bias-disable; - drive-strength = <2>; - }; - - pinconf-cmd { - pins = "sdc1_cmd"; - bias-pull-up; - drive-strength = <2>; - }; - - pinconf-data { - pins = "sdc1_data"; - bias-pull-up; - drive-strength = <2>; - }; - - pinconf-rclk { - pins = "sdc1_rclk"; - bias-pull-down; - }; - }; - - sdc2_on: sdc2-on { - pinconf-clk { - pins = "sdc2_clk"; - bias-disable; - drive-strength = <16>; - }; - - pinconf-cmd { - pins = "sdc2_cmd"; - bias-pull-up; - drive-strength = <10>; - }; - - pinconf-data { - pins = "sdc2_data"; - bias-pull-up; - drive-strength = <10>; - }; - - pinconf-sd-cd { - pins = "gpio69"; - bias-pull-up; - drive-strength = <2>; - }; - }; - - sdc2_off: sdc2-off { - pinconf-clk { - pins = "sdc2_clk"; - bias-disable; - drive-strength = <2>; - }; - - pinconf-cmd { - pins = "sdc2_cmd"; - bias-pull-up; - drive-strength = <2>; - }; - - pinconf-data { - pins = "sdc2_data"; - bias-pull-up; - drive-strength = <2>; - }; - - pinconf-sd-cd { - pins = "gpio69"; - bias-disable; - drive-strength = <2>; - }; - }; }; remoteproc_mpss: remoteproc@4080000 { -- 2.32.0.rc0.204.g9fa02ecfa5-goog