From patchwork Tue May 7 18:36:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 366 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 3BF4D3F085 for ; Tue, 7 May 2019 20:37:00 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id q73sf10744708pfi.17 for ; Tue, 07 May 2019 11:37:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557254219; cv=pass; d=google.com; s=arc-20160816; b=WrRlwD1x8DH/zIVtIzGY6DtuavmYAX4MvVGVq7d9hFjv/ckMQJV08nzvqBSeJBcRXe Bbycdli19rJeWr6VfjJzB+1hRXkislFiSdsa8XyHhHDDxzWXz3HolZyHIeo66iEcW2sW TD9KCfexMEI0Mv/NtAtKVe1z6rBQBx+klU74xFAeLduPKNjwwB0XtcGlT3POwuVGa5I/ b8b+06ODhohK2itJoUlTW/PIPim/TPRiF+fpMMivsM2suluN15BACEbSbsDHWJYIlkQ4 5Yl7limu8oIV7Q4kFOUxWWw+vy5HtOUoplbet+9YuH1Tpnhlr3XvN8YZYsX72pP7u0zr PNrw== 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=22MukzyYOAAGZQzTudxaO3jK7Ek7pw7exmp1qPOZFeQ=; b=Ts2TJs0sO3YqAXdKvBqCi5pr9tjCLMmJdzpup30YC7Hv82wQ1W6aWVklI6qRcdI29V kf3fYt8X3htZ5/yLcZ4oe0dXGbdsFSLxN3N73baOClFPVumz5r+IQumLA4lbj4mgxFMH H89YeYbRdV/oSxOXfQO8RJKCAGOHcOgbaCa721HPEm9pUvBGtACtXKFtwoaUy412IBX1 Q2cXzsRv1nO5mBlzJZ9MpDdbr/ZKuj9HjOB8B4xtAZ9hCLD0xIAfQaIwKUFt0uc7RXyN L9AY/Ct8ie4sjFe1P3PllQ1YbcJP/HIneruAum3z74ant/HzqLI4PTERDuXeQgqYJAdS 6LPQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nTZbIXVW; 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=22MukzyYOAAGZQzTudxaO3jK7Ek7pw7exmp1qPOZFeQ=; b=lriV1IN3ei2OinHIKX6WPjreTVMsCRb8I2PSv7wgprvbAv5ZcfKWyF6IlAflzskzKr 12htDEKQpOpXw60QR4iOGlZsovxSGbEy1Fb8jN7uMqY/SS5QvvtQOntZxLInKkF6994X XBgAEpGkRdOpQUStI0vnP4vli4hrYzDbV7E5I= 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=22MukzyYOAAGZQzTudxaO3jK7Ek7pw7exmp1qPOZFeQ=; b=jl4Sz+x3+BgBrUyUXlaH/ZSY7ueZoWbsmszawFrqqmhymb5wl5x1vzkgQm424lOlv2 9wd2F2V3ivg1FArxjALmdw55OyjVAw0MeeagpfFH/ketJh3laHsS5sLm5YR/QueNhTDv 4zTV7nFbGbwvuOB2sOWyOdskxlqEF7JKH9IvETDnWe/Fk9fCiLVYZlzrglGz19rpOOIw RPcfL/jLtoGfocR8DdxEpAagwSJE/87lR+Dxvrsla5+vRhSMd/rK8vPx5J3u5eswXnof yL2KHccAL1MKycunTsGtOztYgsQJ2UinPEuXzI2u+V0bPkUZMbxAAY94k24h7rDthLfY jkYQ== X-Gm-Message-State: APjAAAXueTxBnkevKjmuocQBlqyL6rd5yqvqqbbmKyoMVjcWYET+EDzE ldCKP8++JDZRZxytfGmMneJClt5Q X-Google-Smtp-Source: APXvYqyQytTyX4o+FXDEPZHFNgDdIfc9MTrCXB0FJGOdtJqXwqkzaxhtVw2x9Eyoj8LgtxKMsLh4gQ== X-Received: by 2002:a63:c10d:: with SMTP id w13mr40828433pgf.311.1557254219040; Tue, 07 May 2019 11:36:59 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:a984:: with SMTP id bh4ls4300860plb.12.gmail; Tue, 07 May 2019 11:36:58 -0700 (PDT) X-Received: by 2002:a17:902:9a0c:: with SMTP id v12mr42396404plp.184.1557254218676; Tue, 07 May 2019 11:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557254218; cv=none; d=google.com; s=arc-20160816; b=cFFwRb/wxixN7Qh8tzCj8a9xcESAdKwgKoQW9gpae5p4LGw93uz4X+AOk4+sSx1LfF 4pT48TGLEPkKQO/tHljsNgvKdfm6bbPVj99fF7Yl+G24QBztarIrNFNkLhACz+MUGRg9 YyaphDyYXpE0OBpJ5QDMv7Q82xaRcAc1WiQCPDzg32gwpwQ949vWD6cogRsKpdBTCQ8B e4SooqlYy8mq46LL4tNFwPAZq0s32O8tmYVshCXbzxini9/SJznfB2Vxre7gkY58Oxws FnkqQGzAsTY4qY0JZZNfMRGVleZFwiVbhq0lVz8rwpFZ496U+dQXp6XOoMwtU+/rtKBc 5a7Q== 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=d6JHM5/ooTGFq5zs+8Ro6gi/VDxPGLGt5ecNLlHQODg=; b=iJQXP1P2RnQND3JSjgwMT3+OW7t9Hmd7VKY5Ur1B/tcSVHz0/1ETScn2DV4U/6nouG 0INc+AlP1wzNqzXXxC33jHoiMYleoiOAYZntExFoBi8hkWwEpIle1/5RomqyFcNDRox4 k9c6/xnaaPcg11ywvlJ6G9nMfugs3+5oklN/00SLFgYaSUueJk8/npdc3KbeI8ho6zA/ YakNiUET4EQsnRQaB98mTb0M0DNP++vbuh0OHG6pRufOT6q2W+OOqgkqLy4+c+C8a3Cd R6Hjzr0z4cYyY92Mt7uaZXB7wAHBdpxb9grA8sLFdpbMFfROpV4ui//HES+ap24OzXMy IKsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nTZbIXVW; 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 w10sor16268551plz.54.2019.05.07.11.36.58 for (Google Transport Security); Tue, 07 May 2019 11:36:58 -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:902:4501:: with SMTP id m1mr40453967pld.302.1557254218391; Tue, 07 May 2019 11:36:58 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id b22sm21743728pgg.88.2019.05.07.11.36.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:36:57 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v7 05/11] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1 Date: Wed, 8 May 2019 00:06:21 +0530 Message-Id: <20190507183625.5983-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507183625.5983-1-jagan@amarulasolutions.com> References: <20190507183625.5983-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=nTZbIXVW; 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: , sdmmc cd pin is configured as RK_FUNC_GPIO which is wrong and indeed failed to detect the sdcard on the board with below error Card did not respond to voltage select! So, fix it by replacing RK_FUNC_GPIO with RK_FUNC_1 which is already defined in rk3399.dts so make use of same like other boards. Add these changes in -u-boot.dtsi to make Linux sync easy for future changes. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399-nanopi4-u-boot.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/arm/dts/rk3399-nanopi4-u-boot.dtsi diff --git a/arch/arm/dts/rk3399-nanopi4-u-boot.dtsi b/arch/arm/dts/rk3399-nanopi4-u-boot.dtsi new file mode 100644 index 0000000000..20db99c0b8 --- /dev/null +++ b/arch/arm/dts/rk3399-nanopi4-u-boot.dtsi @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +&sdmmc { + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc_cd>; +};