Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp686198ima; Wed, 24 Oct 2018 07:42:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5ecb8Wx32FUnjpFNL1kKbTnhjjzUnpGjemv5B1aVDnxZ1YwuyL9qJgY6bphG9KaMlB7XkNN X-Received: by 2002:a17:902:4c85:: with SMTP id b5-v6mr2809963ple.126.1540392179126; Wed, 24 Oct 2018 07:42:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540392179; cv=none; d=google.com; s=arc-20160816; b=J9Ms7n9ieQ04czYTZBL8Vxel/4zd5r70Y45vEoTuVNcre0pS5zvuevdi8mPHkYQ08n ONue7LRXG7HoGiWR76BXC1p2kN1dT4YEeMKMaPzwmFoUHCLYFYDQEYKrcFpGNOUcV1pX lRpOfC1m9iHN+4W/35x/H0fI710pGtDfCRU2095Wm2/NrjhTkkFBteZosFF8kESBWlY2 KNaIi4mwJicq0hc1i9l6nJH8o+up/0GGMEJLNXH32Z0eIH8ENTxZ9vZfzIUrk/7q/Zza HyOmX7EX7xI0D35EOU23q2Kki39kqVOkBpF0G7by9lleu4WueC1DHw2wPicvislwCh5v Ol3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=IxvBCxe4Oy/q4ieOAicMk3ybwJSy0LBS4QbMjEYOYO0=; b=yb0ajvn9Oz91e6FlPhOAFTVqE5cbLMXz8avzDlA65EkXRHmFxvnDbqi8PC263JoKqW VGN3+Uxdwfzo0zQgLeHf4qwP0iGY471Tf2DSzSvhef4CjmF5qhemc6FknHmXUejPprfD lM5qDN3HIFVDz1lJUo6mPxfdyottcbyWip6l651lXSd4OTSNwQw7WkoC0IU4TBnF/mdO V0WcCf2qcK8m2xpZ5ximo43FpbJ6VyOLDMXRzw0Wz6scnk4TLbO1mpavdT/jy9XmFPSV sn63zKnvlOT8vIX+xd2PUMisVq6eHx8ov5tuAeAga2cI/8v1yb47B2mONeOWtPdycvTU 4NjA== 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 z7-v6si5000637pgi.178.2018.10.24.07.42.42; Wed, 24 Oct 2018 07:42:59 -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 S1727179AbeJXXIu (ORCPT + 99 others); Wed, 24 Oct 2018 19:08:50 -0400 Received: from mail.arcx.com ([184.94.50.18]:27680 "EHLO WEBMAIL.arcx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbeJXXIc (ORCPT ); Wed, 24 Oct 2018 19:08:32 -0400 X-Greylist: delayed 906 seconds by postgrey-1.27 at vger.kernel.org; Wed, 24 Oct 2018 19:08:27 EDT Received: from svens-asus.arcx.com (192.168.2.132) by WEBMAIL.arcx.com (192.168.2.64) with Microsoft SMTP Server (TLS) id 15.0.847.32; Wed, 24 Oct 2018 10:26:18 -0400 From: Sven Van Asbroeck To: , , , , , , , , , , , , , , , , , , , , , , , , CC: , Subject: [PATCH anybus v1 2/4] dt-bindings: anybus-bridge: document devicetree binding. Date: Wed, 24 Oct 2018 10:24:54 -0400 Message-ID: <20181024142456.10084-3-svendev@arcx.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181024142456.10084-1-svendev@arcx.com> References: <20181024142456.10084-1-svendev@arcx.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.2.132] X-ClientProxiedBy: webmail.arcx.com (192.168.2.64) To WEBMAIL.arcx.com (192.168.2.64) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds devicetree binding documentation for the Arcx anybus bridge. Signed-off-by: Sven Van Asbroeck --- .../bindings/mfd/arcx,anybus-bridge.txt | 37 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/arcx,anybus-bridge.txt diff --git a/Documentation/devicetree/bindings/mfd/arcx,anybus-bridge.txt b/Documentation/devicetree/bindings/mfd/arcx,anybus-bridge.txt new file mode 100644 index 000000000000..3c0399c4ed45 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/arcx,anybus-bridge.txt @@ -0,0 +1,37 @@ +* Arcx anybus bridge + +This chip communicates with the SoC over the WEIM bus. It is +expected that its Device Tree node is specified as the child of a node +corresponding to the WEIM bus used for communication. + +Required properties: + + - compatible : The following chip-specific string: + "arcx,anybus-bridge" + + - reg : + weim memory area where the cpld registers are located, followed by: + weim memory area of the first anybus-s slot, followed by: + weim memory area of the second anybus-s slot. + + - enable-gpios : the gpio connected to the bridge's 'enable gpio'. + + - pwms : the pwm connected to the bridge's 'pwm input'. + + - irq-gpios : the gpios connected to the bridge's interrupt lines. + note that there is no need to provide the 'interrupts' property here. + +Example of usage: + +&weim { + bridge@0,0 { + compatible = "arcx,anybus-bridge"; + reg = <0 0 0x100>, <0 0x400000 0x800>, <1 0x400000 0x800>; + fsl,weim-cs-timing = <0x024400b1 0x00001010 0x20081100 + 0x00000000 0xa0000240 0x00000000>; + enable-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; + pwms = <&pwm3 0 571>; + irq-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>, + <&gpio1 5 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 2c3fc512e746..1bf07b20a8af 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -35,6 +35,7 @@ aptina Aptina Imaging arasan Arasan Chip Systems archermind ArcherMind Technology (Nanjing) Co., Ltd. arctic Arctic Sand +arcx Arcx/Archronix Inc. aries Aries Embedded GmbH arm ARM Ltd. armadeus ARMadeus Systems SARL -- 2.17.1