From patchwork Wed Mar 16 16:04:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 8602271 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 48E349F294 for ; Wed, 16 Mar 2016 16:16:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6767B202E6 for ; Wed, 16 Mar 2016 16:16:58 +0000 (UTC) Received: from bombadil.infradead.org (unknown [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 99FEE20212 for ; Wed, 16 Mar 2016 16:16:57 +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 1agDzX-0006H3-Om; Wed, 16 Mar 2016 16:08:11 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1agDyN-0005bh-RR for linux-arm-kernel@lists.infradead.org; Wed, 16 Mar 2016 16:07:00 +0000 Received: by mail-pf0-x244.google.com with SMTP id q129so7260421pfb.3 for ; Wed, 16 Mar 2016 09:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=95uGrQK/R/5KfNqzf9SZksdT5TvmZ8ym55pmgGRWnXo=; b=VjhXyrr4/kOCLe8YHM9ZNYJuI4lLPuiHwNQookPQE5CcTCbDMhkVkGHQcgsQcG3z24 Y3tTOQQheoIVwAmDFE6tujEOIGUFjmwvRh/okl05yhPRXD8IMAwMeacrlb8oRcgEgEsJ 9LdS6v+fkanHQtoc1oIoYoHa6tVDqN+b0rZZtVlm/9hJLM6Ux4+dZxN3V1DTWMwDZLff 6TmrfTiqYKP1Xg+HfkAJUUbWfdg/mTQcasNgdAaa6LP1hVK1VyQKHS3H26mMu3Tg2log Z9T7YWtNavd8GUMOJdinJDT4XlrCWCGBFGdOlQfdWFcPkxl8xU+vpfUQy28cNHmP1pIr xrWA== 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:in-reply-to :references; bh=95uGrQK/R/5KfNqzf9SZksdT5TvmZ8ym55pmgGRWnXo=; b=VPJJEZjfvLLDYGsEEK5hquC8huSKnH+SpEHVhNJvjIWLzvfYYqPM9+215IhdiQhjFK w+0kiCwPwPJT+GPdB0urrn2yzQhdC1p3E6bvTBlv8LHzFKCgUZ9/cUrvxFqr3SrGF64z TYmzRokmO+btEZmuMhvm3NIl9hz983ETY7lKhdIgMPa9FPQ/aSjNOqnjbF+beKhN1Fib MgsiM3bPJIDmGgzNzvCNaMXQAzA7QUbC71hWF9NZTRO/T+TDfAUiXUAwdp58ammmerMf PhFvYiq+f+mkxSLU67cRBR5VWCBy3qFhB5Cvu+GX0CjRSwXeth7Ef1HRsb8f1yTi9Pf6 S2iQ== X-Gm-Message-State: AD7BkJLJNG076CtdIHNuRF61Bx4bRH61Z1I6dUWIBCn2WCRqPs/nVmHCck7alPQwkhrPBw== X-Received: by 10.66.124.226 with SMTP id ml2mr7145399pab.90.1458144399445; Wed, 16 Mar 2016 09:06:39 -0700 (PDT) Received: from localhost.localdomain ([101.127.161.160]) by smtp.gmail.com with ESMTPSA id by3sm6693400pab.39.2016.03.16.09.06.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Mar 2016 09:06:38 -0700 (PDT) From: Vishnu Patekar To: robh+dt@kernel.org, corbet@lwn.net, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, emilio@elopez.com.ar Subject: [PATCH v4 09/13] ARM: dts: sun8i-a83t: Add RSB controller device node to dtsi Date: Thu, 17 Mar 2016 00:04:32 +0800 Message-Id: <1458144276-31108-10-git-send-email-vishnupatekar0510@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1458144276-31108-1-git-send-email-vishnupatekar0510@gmail.com> References: <1458144276-31108-1-git-send-email-vishnupatekar0510@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160316_090700_004089_FC19F97D X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, patchesrdh@mveas.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, hdegoede@redhat.com, wens@csie.org, mturquette@baylibre.com, jenskuske@gmail.com, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RDNS_NONE, 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 This patch adds a device node for the Reduced Serial Bus (RSB) controller and the defacto pinmux setting to the A83T dtsi. Since there is only one possible pinmux setting for RSB, just set it in the dtsi. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 5d240b9..7b02d85 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -476,6 +476,27 @@ interrupt-controller; #interrupt-cells = <3>; #gpio-cells = <3>; + + r_rsb_pins: r_rsb { + allwinner,pins = "PL0", "PL1"; + allwinner,function = "s_rsb"; + allwinner,drive = ; + allwinner,pull = ; + }; + }; + + r_rsb: i2c@01f03400 { + compatible = "allwinner,sun8i-a23-rsb"; + reg = <0x01f03400 0x400>; + interrupts = ; + clocks = <&apb0_gates 3>; + clock-frequency = <3000000>; + resets = <&apb0_reset 3>; + pinctrl-names = "default"; + pinctrl-0 = <&r_rsb_pins>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; }; }; };