From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751120AbbHSEUn (ORCPT ); Wed, 19 Aug 2015 00:20:43 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:41153 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbbHSEUl (ORCPT ); Wed, 19 Aug 2015 00:20:41 -0400 From: Chen-Yu Tsai To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Maxime Ripard , Greg Kroah-Hartman , Mark Brown Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Hans de Goede , Meng Zhang , shuge@allwinnertech.com, kevin.z.m.zh@gmail.com, Chen-Yu Tsai Subject: [PATCH v3 2/8] rsb: sunxi: Add Allwinner Reduced Serial Bus (RSB) controller bindings Date: Wed, 19 Aug 2015 12:20:03 +0800 Message-Id: <1439958009-14056-3-git-send-email-wens@csie.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1439958009-14056-1-git-send-email-wens@csie.org> References: <1439958009-14056-1-git-send-email-wens@csie.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Recent Allwinner SoCs, starting with the A23, have a Reduced Serial Bus (RSB) controller. This is used to talk to the PMIC, and later with the A80 and A83 platform, the audio codec IC. Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/rsb/rsb-sunxi.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/rsb/rsb-sunxi.txt diff --git a/Documentation/devicetree/bindings/rsb/rsb-sunxi.txt b/Documentation/devicetree/bindings/rsb/rsb-sunxi.txt new file mode 100644 index 000000000000..057d24b84628 --- /dev/null +++ b/Documentation/devicetree/bindings/rsb/rsb-sunxi.txt @@ -0,0 +1,34 @@ + +* Allwinner RSB (Reduced Serial Bus) controller + +Required properties : + + - reg : Offset and length of the register set for the controller. + - compatible : Shall be "allwinner,sun8i-a23-rsb". + - interrupts : The interrupt line associated to the RSB controller. + - clocks : The gate clk associated to the RSB controller. + - resets : The reset line associated to the RSB controller. + - #address-cells : shall be 2 + - #size-cells : shall be 0 + +Optional properties : + + - clock-frequency : Desired RSB bus clock frequency in Hz. Maximum is 20MHz. + If not set the current hardware setting shall be used. + +See rsb.txt for the generic RSB bindings for RSB slaves / child nodes. + +Example: + + rsb@01f03400 { + compatible = "allwinner,sun8i-a23-rsb"; + reg = <0x01f03400 0x400>; + interrupts = <0 39 4>; + clocks = <&apb0_gates 3>; + clock-frequency = <3000000>; + resets = <&apb0_rst 3>; + #address-cells = <2>; + #size-cells = <0>; + + /* child nodes ... */ + }; -- 2.5.0