Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10140299pxu; Tue, 29 Dec 2020 15:22:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJztPz1zd7S7zmKW7PadgpOwaVippRc6Omt8rN3bOtnZo9Dtcgh5ZDNkrp/ywmTNlY0WNuXe X-Received: by 2002:a50:b746:: with SMTP id g64mr47959282ede.33.1609284164911; Tue, 29 Dec 2020 15:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609284164; cv=none; d=google.com; s=arc-20160816; b=MDsRGqtxmPbvaiTXTsCRO4bsRH1k/tu+uIaI90FS2z+Yk7OgR5jmtMv84NGDtQ5tQd LGFOH173ysZ9NQGRvPjFJnUXE7UG5RwzWt0CL2AMFdSQg3QP9lShZ5Nkf2WR0Vv+xsem ocPN2wA0JDqAGZvU7KSneaBdm1WAMmi47z6TUY1OOH0cVecfaoe9/rrTwS/Fe+4PulsT CTcZ+m2QUFRZIOJ3hE9A4GgUCLLsLP09+FCC4hSwXh+rEDt64p7twRqsxgXE+QFzi9iB s/P3sL1G5rlvkcZrlETyS/Fe4mcsKz5CTyRZa/3PUnyghdXMlgTF0yVehaSD9v5AupSv HsdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=lYjCoMslKp+Wjiv+a5H/8F5ugbL9uTUEdD0NnC3iIGo=; b=QS77CQ+kUJF1XCgcP0HqCOZFxXmtltkGFOgU1DLLtFPmZtwAnLrZVGSCfRBMnjJpJb sRzFLTNHC8Cy72uY8jPKjB5e9uG6m3WDsQlMRytz9uykkFUlhTxWGjN4+UxgfBoM35Xy QfEgLTe4ETv+Iei7qiuwTNr+0YAUfIW2B8BD9GLTxgBznCd840tZxEvf5akSz0q/BUg7 CvhpoXnoJe76d6HiZOhD2gENxDtUA2yCMsZJ51On41ows4WGl+HeLwCXLZWO6OVG74c0 mfeQqf4w5AfmxclqJn7hgr/zEc83xQjagwy162TQoq6RqdkSciU21KztyJDqDi31QpOm sENQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l16si21038832ejr.711.2020.12.29.15.22.22; Tue, 29 Dec 2020 15:22:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726350AbgL2XUp (ORCPT + 99 others); Tue, 29 Dec 2020 18:20:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbgL2XUn (ORCPT ); Tue, 29 Dec 2020 18:20:43 -0500 Received: from yawp.biot.com (yawp.biot.com [IPv6:2a01:4f8:10a:8e::fce2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46560C06179A for ; Tue, 29 Dec 2020 15:20:03 -0800 (PST) Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1kuOHZ-00Acg6-IY for linux-kernel@vger.kernel.org; Wed, 30 Dec 2020 00:20:01 +0100 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on yawp X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.4 Received: from [2a02:578:460c:1:ae1f:6bff:fed1:9ca8] (helo=sumner.biot.com) by yawp.biot.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kuOGg-00Acdi-5b; Wed, 30 Dec 2020 00:19:06 +0100 Received: from bert by sumner.biot.com with local (Exim 4.93) (envelope-from ) id 1kuOGf-00Ajhn-Nc; Wed, 30 Dec 2020 00:19:05 +0100 From: Bert Vermeulen To: Mark Brown , Rob Herring , Birger Koblitz , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bert Vermeulen Subject: [PATCH RESEND v2 1/2] dt-bindings: spi: Realtek RTL838x/RTL839x SPI controller Date: Wed, 30 Dec 2020 00:19:03 +0100 Message-Id: <20201229231904.2558916-1-bert@biot.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Bert Vermeulen --- (resent due to mail trouble) .../devicetree/bindings/spi/realtek,spi.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/realtek,spi.yaml diff --git a/Documentation/devicetree/bindings/spi/realtek,spi.yaml b/Documentation/devicetree/bindings/spi/realtek,spi.yaml new file mode 100644 index 000000000000..9831df6dc40d --- /dev/null +++ b/Documentation/devicetree/bindings/spi/realtek,spi.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/realtek,spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTL838x/RTL839x SPI controller + +maintainers: + - Bert Vermeulen + - Birger Koblitz + +allOf: + - $ref: "spi-controller.yaml#" + +properties: + compatible: + const: realtek,spi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi: spi@1200 { + compatible = "realtek,spi"; + reg = <0x1200 0x100>; + #address-cells = <1>; + #size-cells = <0>; + }; -- 2.25.1