Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5819260imw; Wed, 20 Jul 2022 13:13:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vfz3O8LgbUPPsLDAJ1lyMJZ6h5d9gJkxC4icdcTvpjqUnS6jWcX9YpC1/gGQBGuWWpVWLP X-Received: by 2002:a17:90a:fd12:b0:1f2:c4a:ab05 with SMTP id cv18-20020a17090afd1200b001f20c4aab05mr7195035pjb.193.1658348007546; Wed, 20 Jul 2022 13:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658348007; cv=none; d=google.com; s=arc-20160816; b=swOOBi4iNhlQ/8kokIhCxkeKKcpoigar/w/x+GbKZcAARaXiKnh8LFztKGWv+TOHtV kfUBp2WvxqGYBiUaildWbwsMWAJpC1U0wLMKdl0BhDEMNB2/L7jm1g0lQSZ/S64ZGtrI lAEfdwp/0YmSTgbRgFZMXEp7NpmSeVX9iYeSrhKBmBWLdpSGYjVRoFo9MjBOA6FxWf5f kYb1KRXyr4iZUmYmssM6ge48EmQkQLheNV98/hJuzGO76wtahNIZmVKXC7jytXPh3qVf mxARZ1sQ3Dkw32GW7cZ91GwtPxZVQm2dURzwUQNP5hkrxhSewB701sPSfhNiLJlr2TfD rk1Q== 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=6IBOhLvQvcwpVn3qDtM/5twkMYIADGukvjQUHPUIsNI=; b=hlKOZSOMr9CvvCDikoqw8G/NFHrkSEg+qattCPS8+E2VV2bZ4/Wuzt9nvUXXTv0jbi Lhf+c9ayVR80jHbtuiLQ9Y2wpZps9dFnPtye1Pt18ddx2fyWIamAtwn1BfkrJoVd8GcR nEn9yyueXuD6q4xUKoD8JxXMg/yj5fgLb/fKsGMGfGu9Pqmbm+QjnGDRlWGGNYvah6nX D8uTzrXb6zekPuirQtTLlFxnRa5DdANSlPZfTfqFJKJh/Bqq4A0ZKz2jsnsOqVLnkCBa QHExu8cHUlKEWDNuKxz97ZDtWg2kyo9vHImg8EGgztSMaL9xJwTfqDeeYDFwJZuz0UIV PhWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=crAOKyeK; 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 188-20020a6304c5000000b00412a9c163b3si7452014pge.51.2022.07.20.13.13.10; Wed, 20 Jul 2022 13:13:27 -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=crAOKyeK; 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 S230121AbiGTULT (ORCPT + 99 others); Wed, 20 Jul 2022 16:11:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiGTULP (ORCPT ); Wed, 20 Jul 2022 16:11:15 -0400 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F14AC47BBE; Wed, 20 Jul 2022 13:11:13 -0700 (PDT) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26KJOhvD012839; Wed, 20 Jul 2022 20:10:49 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=6IBOhLvQvcwpVn3qDtM/5twkMYIADGukvjQUHPUIsNI=; b=crAOKyeKW49B3rGeLXkay2e8axaOb4oux2VC+yivgok6Ysg6TryYnO4tp3xqcNW1NNDt ed4vfQ91UKmk6a+mkdKIraRlAUlc9IueDw2OKudRfLqnGKMhDUy8dvXlY/+F/LRVbUbt zlBg55PTmqIGcaR0RWGptZUJn2KotnS57rl6nYV0PLJMY0gTvKwu8HlVj7gMnme8rDNC hDPrERAsoVBjo1YExGFMtvseuBc3bzL01ZbG/vdofL9VzJ5lFhrQbiDQmTdNcPyOJ78Z AH6+Xr0hS7ZLHh1/ZE5Z5KvL/jmqexmhFlyPoc7p4/uXOxetcAWry9vfaIgTnIdMkaQr mA== Received: from p1lg14880.it.hpe.com (p1lg14880.it.hpe.com [16.230.97.201]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3henjmsdck-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Jul 2022 20:10:49 +0000 Received: from p1lg14886.dc01.its.hpecorp.net (unknown [10.119.18.237]) (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 p1lg14880.it.hpe.com (Postfix) with ESMTPS id 0735880019B; Wed, 20 Jul 2022 20:10:49 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14886.dc01.its.hpecorp.net (Postfix) with ESMTP id 7B451809076; Wed, 20 Jul 2022 20:10:48 +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 v1 2/5] spi: dt-bindings: add documentation for hpe,gxp-spifi Date: Wed, 20 Jul 2022 15:11:55 -0500 Message-Id: <20220720201158.78068-3-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220720201158.78068-1-nick.hawkins@hpe.com> References: <20220720201158.78068-1-nick.hawkins@hpe.com> X-Proofpoint-GUID: o26Tu0OYYt6DnVu1NJ49xn7hlnyqIl_n X-Proofpoint-ORIG-GUID: o26Tu0OYYt6DnVu1NJ49xn7hlnyqIl_n 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-20_12,2022-07-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 mlxlogscore=822 malwarescore=0 spamscore=0 phishscore=0 bulkscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207200081 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, 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 --- .../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..015130ecf971 --- /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-parrent = <&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