Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp200575imn; Mon, 25 Jul 2022 13:57:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u1D5Jgr9k9tOJvL2GajGd/chH3rCVsPgC25ql3pCKw0mPV+9QqvejUjMP5HZ/lEDsCtchI X-Received: by 2002:a17:907:6d8b:b0:72b:5f51:a9e7 with SMTP id sb11-20020a1709076d8b00b0072b5f51a9e7mr11381461ejc.628.1658782632381; Mon, 25 Jul 2022 13:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658782632; cv=none; d=google.com; s=arc-20160816; b=kZxnE447lhWwwiYBv+VmW3N2R46Q2skSq9kbOcc9NCptAt+P0fqBfK6NOEsFI/gXIa 4d6Kfv3RS854fQqcYekN/Y0hYfr6JVYXfWRuziFD7dWv7kRWQfpv6XDtL/OLph5X7hFW 8WGrS6+xhJ3eZJSqiArWC7KmVkFkXUofLBQsFvgtN8VgtLz/wtvQah/M0QGWjQSngtN9 n61LQJ6pZ56q5MUW/KTpqgeHhRtdLyeA6ID9wubAOSBDm3ll0cErQdSMbHDXpdoT9jpU uKlxKujcE2cRJ0JLl5w+pJwtDqdxM4pd2TrB9O9PerkQI5kBr8ClnLZlkH4hKAtmDhC2 eIcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=shI+y1oBGQyocAZJoGDlffE5AjoCSkCNGb8zoNTW0Q0=; b=i3elQpLO00W5WVCFAbvR+aSHjkbiV4xu4Mg34kH1fTlMrfxwZmiJYchxeeOpBMszGy kr9oCXHxGQGcMrD4BK0G8UJIgfqgHNi9n+0g93K43p/S8uQHL/hQpnM5hWaa6oQmq+DC 6eXCrPZN54SPCyosGeM94vOG8d9KsfcUQQGW3sMToEauqAmZqOjzRbFu5nEbAJaNAKTc 44f0FmOCBLZidhdlX2LLyKwHsvAwkvcysWl7W4rJuJ0cg1qPJbQtVhwqwg1RZPwhRfMT 34gmsnITk81l0UjAB4sagCMjTISOSPbBgy/OVrPqfJDDenJAF7gaN2Q7EDtp6R5dakTr kP1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=dqx1JMgd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id au9-20020a170907092900b006e89d168e62si9354637ejc.820.2022.07.25.13.56.47; Mon, 25 Jul 2022 13:57:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=dqx1JMgd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237070AbiGYUNp (ORCPT + 99 others); Mon, 25 Jul 2022 16:13:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236979AbiGYUNA (ORCPT ); Mon, 25 Jul 2022 16:13:00 -0400 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A21D21E22; Mon, 25 Jul 2022 13:12:47 -0700 (PDT) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26PHWLlh006759; Mon, 25 Jul 2022 20:12:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version; s=pps0720; bh=shI+y1oBGQyocAZJoGDlffE5AjoCSkCNGb8zoNTW0Q0=; b=dqx1JMgdhr922J84z6T0I+rmK9cgkMqk83eGVkg7Ko1EX9htNnSPoqSkybuZYRzuFWo9 mszzUal5YEjg9poj8LcIhaznOxGZhUuGnJS1a1Lby/JEF0v/bi4Z+agdIPSHaH0Gbixt clz03r+rVqgqBRwFjvWzHnz4cvNip9h268S7hacM1NnfJ7kL4l7EA+STaUtQERjM+XLB qsSw5HKunJMvywWm5GKpHpA7FBcViETIhh3Oqpgud3YOxPWs94n/wytzkiYLwQiJXjgQ CQCaCSSdENFtJFaXqF+YtRocB1nh7GwQKUF9p3qBAV2oUZj6rjWVfnlTlZ44ceqDpnE5 HA== Received: from p1lg14881.it.hpe.com (p1lg14881.it.hpe.com [16.230.97.202]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3hhwcdah1r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Jul 2022 20:12:22 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14881.it.hpe.com (Postfix) with ESMTPS id 0B40A804C8A; Mon, 25 Jul 2022 20:12:21 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTP id 5EB1D8038DE; Mon, 25 Jul 2022 20:12:20 +0000 (UTC) From: nick.hawkins@hpe.com To: nick.hawkins@hpe.com Cc: broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, verdun@hpe.com, linux@armlinux.org.uk, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, joel@jms.id.au Subject: [PATCH v4 2/5] spi: dt-bindings: add documentation for hpe,gxp-spifi Date: Mon, 25 Jul 2022 15:13:19 -0500 Message-Id: <20220725201322.41810-3-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220725201322.41810-1-nick.hawkins@hpe.com> References: <20220725201322.41810-1-nick.hawkins@hpe.com> X-Proofpoint-ORIG-GUID: NvUIyGx2HxqkEuLlr7GCFC4f07bm0Uko X-Proofpoint-GUID: NvUIyGx2HxqkEuLlr7GCFC4f07bm0Uko X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-25_12,2022-07-25_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 mlxscore=0 clxscore=1015 impostorscore=0 mlxlogscore=727 phishscore=0 bulkscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207250082 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nick Hawkins Create documentation for the hpe,gxp-spifi binding to support access to the SPI parts Signed-off-by: Nick Hawkins --- v4: *Remove uneccessary quotes v3: *Fix indentation v2: *Removed extra space around < > for reg *Changed interrupt-parrent to interrupt-parent --- .../bindings/spi/hpe,gxp-spifi.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/hpe,gxp-spifi.yaml diff --git a/Documentation/devicetree/bindings/spi/hpe,gxp-spifi.yaml b/Documentation/devicetree/bindings/spi/hpe,gxp-spifi.yaml new file mode 100644 index 000000000000..7797c3123b7e --- /dev/null +++ b/Documentation/devicetree/bindings/spi/hpe,gxp-spifi.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/hpe,gxp-spifi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE GXP spi controller flash interface + +maintainers: + - Nick Hawkins + - Jean-Marie Verdun + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: hpe,gxp-spifi + + reg: + items: + - description: cfg registers + - description: data registers + - description: mapped memory + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + + spi@200 { + compatible = "hpe,gxp-spifi"; + reg = <0x200 0x80>, <0xc000 0x100>, <0x38000000 0x800000>; + interrupts = <20>; + interrupt-parent = <&vic0>; + #address-cells = <1>; + #size-cells = <0>; + + flash@0 { + reg = <0>; + compatible = "jedec,spi-nor"; + }; + + flash@1 { + reg = <1>; + compatible = "jedec,spi-nor"; + }; + }; -- 2.17.1