From patchwork Fri May 13 22:12:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 9093831 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1702CBF29F for ; Fri, 13 May 2016 22:12:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 30CC82022D for ; Fri, 13 May 2016 22:12:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5EC9B2021A for ; Fri, 13 May 2016 22:12:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b1LJw-0002Qs-OV; Fri, 13 May 2016 22:12:32 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b1LJu-0002Mr-A9 for linux-rockchip@lists.infradead.org; Fri, 13 May 2016 22:12:30 +0000 Received: by mail-pa0-x22b.google.com with SMTP id bt5so44259019pac.3 for ; Fri, 13 May 2016 15:12:10 -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; bh=AzRio8tm5y0Ir2UNJWdMqzh6PCXcIqaT3A7uXbs7y+U=; b=PNyvFVrgLgdVTwCO11X82NLFhA7BAyHyjqulq+sxEUSjTsNOtBKIXYLU8EPkMWnYlY C9kWAt/NsJqh1/WAyxyjc40lA5w1s9YcIgtRt8hVI2MqgHh1aZ7RtmVNHa2thmHFfE14 HBrQVxrgSYq+G5c+jBjm1RT+xftFHozyxJZ6A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AzRio8tm5y0Ir2UNJWdMqzh6PCXcIqaT3A7uXbs7y+U=; b=hFI7npAEguzX0UtzLTEI1dXC7TfMfnV766J19lfjFqLlG8f4n0tJulJG1xu9NdZV5Y EDPAUviYrGyfmkxGE/xbCuWYLcbK435mp8pNhaLabowAiAOosze5/Lv8Tlj3xsqhhY4V bTh2I3MxfDdQzYWblWNnYuG2nEP1ESZBPL3/V4xAwfbpEIpr9wwercLwBnvRHleO6l6J kBssQyQdFCOwhjyYeU7VrDdLo0DqhRJSxCjlRED4ENibnED/dxp5++HWfNKEZtjSd9Uz 4HB3xs3KJS7WHdHcc8YFcboW1yitCqQnwT2vbhy/rtypXVVY6Yizomxuet4i1G3RQRNV zAMw== X-Gm-Message-State: AOPr4FVyO4kiW0SZ3mRhc3dUVFdwHFBz696WsK9IYv+DCOFkijhVnbmI1cyy+uOH52uBxs6p X-Received: by 10.66.176.103 with SMTP id ch7mr26558479pac.20.1463177529760; Fri, 13 May 2016 15:12:09 -0700 (PDT) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id y2sm29679440pfi.39.2016.05.13.15.12.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 May 2016 15:12:09 -0700 (PDT) From: Brian Norris To: Heiko Stuebner Subject: [PATCH v4 1/3] ARM64: dts: rockchip: make rk3399's grf a "simple-mfd" Date: Fri, 13 May 2016 15:12:02 -0700 Message-Id: <1463177524-113856-1-git-send-email-briannorris@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160513_151230_387511_CB6D5389 X-CRM114-Status: UNSURE ( 9.10 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Shawn Lin , Brian Norris , linux-kernel@vger.kernel.org, Doug Anderson , linux-rockchip@lists.infradead.org, Brian Norris , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Per the examples in Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt, we need the grf node to be a simple-mfd in order to properly enumerate child devices like our eMMC PHY. Signed-off-by: Brian Norris Reviewed-by: Douglas Anderson --- v4: * New, split out of patch 2, per Heiko's recommendation arch/arm64/boot/dts/rockchip/rk3399.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 46f325a143b0..e1c3667a9bea 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -481,8 +481,11 @@ }; grf: syscon@ff770000 { - compatible = "rockchip,rk3399-grf", "syscon"; + compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; reg = <0x0 0xff770000 0x0 0x10000>; + + #address-cells = <1>; + #size-cells = <1>; }; watchdog@ff840000 {