Received: by 10.192.165.148 with SMTP id m20csp892316imm; Thu, 10 May 2018 02:18:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqiy30TlDjxRHden1WNVGfs0O7RG+Cy9Mo8yMta/z5cxGS2Ln6jAof7GGyvwWhOerqjWw88 X-Received: by 2002:a65:661a:: with SMTP id w26-v6mr500549pgv.151.1525943906144; Thu, 10 May 2018 02:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525943906; cv=none; d=google.com; s=arc-20160816; b=zE//Ew46+lx9+ZN4k3hGxH1MjBXMKz41tsH5CWTaOCg6BrSr3TDBFq6YTdSe32ETtG CcG++oexA0N238r+3Inp8FmHO+mf4MXN/gaTT+RSaumPQo8xrq41iI8XS+B/7vhsJhk7 clEsW4SaJOBcIUa+kCabR2aXO0zrMWfBj7HIt5fMm8mHd9s1Onsxq64MvgG1sQHB0c47 31WvrRxesHV17TEGmyE6MO2c8uHOojzTDQzI9dwVbXNiTgifKYYEaHNCublp5a+2SfEs hVonYU4wgQ2K9WzMEqLTC4kAzpf3peYpNg7XQ/57ZKTzWfPoyjDCLsmgJSiLk8U0+Is7 Q8jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=B1Qq1VYnQLHIK3g5DDm0nvn9oxPw8JCgoAUngxHIWpU=; b=Ccj9eZxe3o7B2qa9jYUahJiYvPZmqhUz4ijVJAZtmKEQlnZzIr/4+j4o4hw5IfAIn+ MP3mP420s7PCvWuqi7XwbFGY7WwNSZwaVG62OEVp+s38gO8gmFGz5nAH8hMejr5Re7Sg 2McRwCQV20A2tTha8e/Dpa70IxqzaLiZDyLplrRgMQTr46hhYXYbCHKZuVYLDbbwmZyR /ZsFaxfezZRM0T4JGUbHgDugq1787nWR6iGAIgBKOBH9HJpKtnsGd9yC/jPdB3EvOwTT ax+vzmZ300mQMUEz80B5cvQRJA4BBUztNPco21/Of+bAQoqJJFgJDnBDSkdkHaZHvbZZ 8X3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19-v6si389447plo.174.2018.05.10.02.18.12; Thu, 10 May 2018 02:18:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757006AbeEJJRj (ORCPT + 99 others); Thu, 10 May 2018 05:17:39 -0400 Received: from regular1.263xmail.com ([211.150.99.140]:43897 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756872AbeEJJRa (ORCPT ); Thu, 10 May 2018 05:17:30 -0400 Received: from djw?t-chip.com.cn (unknown [192.168.167.12]) by regular1.263xmail.com (Postfix) with ESMTP id 3FB844D6D; Thu, 10 May 2018 17:17:18 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 1DB87383; Thu, 10 May 2018 17:17:12 +0800 (CST) X-IP-DOMAINF: 1 X-RL-SENDER: djw@t-chip.com.cn X-FST-TO: linux-rockchip@lists.infradead.org X-SENDER-IP: 59.33.101.82 X-LOGIN-NAME: djw@t-chip.com.cn X-UNIQUE-TAG: <0b9114c7d88862bba9b8ecc2d7d6ffca> X-ATTACHMENT-NUM: 0 X-SENDER: djw@t-chip.com.cn X-DNS-TYPE: 7 Received: from localhost.localdomain (82.101.33.59.broad.zs.gd.dynamic.163data.com.cn [59.33.101.82]) by smtp.263.net (Postfix) whith ESMTP id 26450U9JSPD; Thu, 10 May 2018 17:17:17 +0800 (CST) From: djw@t-chip.com.cn To: linux-rockchip@lists.infradead.org Cc: Wayne Chou , Levin Du , Heiko Stuebner , devicetree@vger.kernel.org, David Wu , Arnd Bergmann , Finley Xiao , Liang Chen , William Wu , Linus Walleij , Sugar Zhang , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Robin Murphy , Rob Herring , Rocky Hao , Will Deacon , Joseph Chen , Mark Rutland , Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 0/5] Add sdmmc UHS support to ROC-RK3328-CC board. Date: Thu, 10 May 2018 17:16:35 +0800 Message-Id: <1525943800-14095-1-git-send-email-djw@t-chip.com.cn> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Levin Du Hi all, this is an attemp to add sdmmc UHS support to the ROC-RK3328-CC board. This patch series adds a new compatible `rockchip,gpio-syscon` to the gpio-syscon driver for general Rockchip SoC usage.. A new gpio controller named `gpio_syscon10` is defined in rk3328.dtsi so that all rk3328 boards has access to it. The ROC-RK3328-CC board use the new gpio <&gpio_syscon10 1> in gpio-regulator to control the signal voltage of the sdmmc. It is essential for UHS support which requires 1.8V signal voltage. Many thanks to Heiko's great advice! Changes in v1: - Refactured for general gpio-syscon usage for Rockchip SoCs. - Add doc rockchip,gpio-syscon.txt . - Split into small patches. - Add gpio-syscon10 to rk3328 for general use. - Sort dts properties in sdmmc node. Heiko Stuebner (1): gpio: syscon: allow fetching syscon from parent node Levin Du (4): gpio: syscon: Add gpio-syscon for rockchip arm64: dts: rockchip: Add gpio-syscon10 to rk3328 arm64: dts: rockchip: Add io-domain to roc-rk3328-cc arm64: dts: rockchip: Add sdmmc UHS support for roc-rk3328-cc .../bindings/gpio/rockchip,gpio-syscon.txt | 41 ++++++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 30 ++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 ++++ drivers/gpio/gpio-syscon.c | 32 +++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/rockchip,gpio-syscon.txt -- 2.7.4