From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0483BC433F5 for ; Mon, 16 May 2022 20:03:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P2+fgIN5RvQuWr5NrpFIjaIi1okkX0CCLf1Yi+KWBbQ=; b=hLGMn6pTN/pon4 KwXCAxOzKOh7KxYxuti0vW0n/nQ6GMjXDsY1NQlK75MzcoXcb1PueGrW2XPlWPG/nTzSAwJkQzvIB 8BC93Jzm7Eq0Kjw5gXa6anZbW0olMY/r5OXsjxPhZAprtX1juwzYOIWxsY1E4PXKeLoKQDjZl4prd BJEZFmJU90b5lBTydLEyCuHQ5MY6mUa6TYfGUgT+JHyazt+uXBTsT7WmTh4L/F2ypghy1psXLse3s pegBDuhLlNVzxgpy20xeC3M4M+l1r9RUh34vv3OsnPyhFl6hB7yUjhFbkkMB5hN8IPvMzYPV1If54 tVpBtSPYUu878/RoV4Ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqgv5-009wOI-54; Mon, 16 May 2022 20:02:19 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqgv3-009wNc-1R for linux-arm-kernel@bombadil.infradead.org; Mon, 16 May 2022 20:02:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=93PPZuHKch78x8tSy+rO2EIugcBmTyW6GlHoslXKNqw=; b=kEK6RkWsZjrEX/OIG40SZkjqe3 KaNckrU38aC2C1FvrPhVFvk3Y9rmZJCaAbSWq8CVqlv2gMCUBzj1Yl85ZGQt6EPWww2P3YthRYqBp as5VhjDqQhcEBpYVfyIHc2yvOtStpzXQHxHLeUpeUj+zhuGd7CRqMwOA270ptvr5DVtcEYkHcF7sf z5yp0ybwKPG6j9ORNvwlPI14ymZexnzmztHZPfh6Cu94H3S/eje+38dCQ/tgZ80j01UOZ2K+gCFC7 uv7HoFw9AmIfCjjBusBVhWbFU8K17SwaPpto+NjcmARVmUFA3CrvX+2syqRyNNVXU0uhCWjY6sPzQ mD/gL13A==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUY0-000suI-AW for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 06:49:43 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 24G6ZVWd064016; Mon, 16 May 2022 14:35:31 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from localhost.localdomain (192.168.10.9) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 16 May 2022 14:49:04 +0800 From: ryan_chen To: Joel Stanley , Andrew Jeffery , Philipp Zabel , , , , CC: Subject: [PATCH v3 1/3] dt-bindings: i2c-ast2600: Add bindings for AST2600 i2C global register controller Date: Mon, 16 May 2022 14:48:58 +0800 Message-ID: <20220516064900.30517-2-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220516064900.30517-1-ryan_chen@aspeedtech.com> References: <20220516064900.30517-1-ryan_chen@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.10.9] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 24G6ZVWd064016 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_074941_229628_7CCDC06D X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org AST2600 I2C global register controller, add bindings document to support driver of i2c global register set Signed-off-by: ryan_chen --- .../i2c/aspeed,i2c-ast2600-global.ymal | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/aspeed,i2c-ast2600-global.ymal diff --git a/Documentation/devicetree/bindings/i2c/aspeed,i2c-ast2600-global.ymal b/Documentation/devicetree/bindings/i2c/aspeed,i2c-ast2600-global.ymal new file mode 100644 index 000000000000..d92a0878d03b --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/aspeed,i2c-ast2600-global.ymal @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/aspeed,i2c-ast2600-global.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AST2600 I2C Global Register on the AST26XX SoCs Device Tree Bindings + +maintainers: + - Ryan Chen + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + enum: + - aspeed,ast2600-i2c-global + + reg: + minItems: 1 + items: + - description: address offset and range of bus + - description: address offset and range of bus buffer + + resets: + maxItems: 1 + +required: + - reg + - compatible + - resets + +unevaluatedProperties: false + +examples: + - | + #include + + i2c_gr: i2c-global-regs@0 { + compatible = "aspeed,ast2600-i2c-global", "syscon"; + reg = <0x0 0x20>; + resets = <&syscon ASPEED_RESET_I2C>; + }; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel