From patchwork Mon Apr 3 18:32:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kurbanov X-Patchwork-Id: 78685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2507441vqo; Mon, 3 Apr 2023 11:42:00 -0700 (PDT) X-Google-Smtp-Source: AKy350ZPKxqAytShnyRRh/SFb2Wk/4D+5Kx+Rq+B2fDayn1l4SIJFEG8cwex645ZuJoEhw/NXM/K X-Received: by 2002:aa7:c98b:0:b0:501:dc02:1956 with SMTP id c11-20020aa7c98b000000b00501dc021956mr180292edt.29.1680547320408; Mon, 03 Apr 2023 11:42:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680547320; cv=none; d=google.com; s=arc-20160816; b=1Ihjns0FG8jkaAKmk+MUaPTFOrmvZMFCQ6Zc5ux4Yakmf+wXqtIyzfcP+ouGSAZGwC RcV6ajOXMkV8zZX/velr2JvOvSCmqAb/ci9fWPscBU4htBv6zsYiBcAbqdhLk8Q1Z+Ao M+2rA9WKozprufQEYeUyPtjMtoS1GTvY7M3YGtfZeUhpzWCO2B72gI8RFViR1hGiusWe ZkEOwhtoB3GOjjX647a0JdHtDnqv46qZ3OOM9fgvQlr8QX1scS+DeAclBGM1XhIBIzPD rbdEjW3LfaB6qjWSlfGw/1ynwOIN3JrX/BDcl4tdGHOnOaGscguX3QPOaf1X1i3G8KCv zyyQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DHDyHk/Pj446xdaKqd95W4mapo90ZP6LvwdXXHadk4g=; b=apvkxl4aWyWF2guddBUUEQlLISDUASy0X49T/A/t+piU+n6I7jTB452M9DkULTmN9n ZihlX9Z+JHeh+tlLmhqsgQyRMDcVCkznquQLH08OX2ezk6ZnBCD7Zk8UuJNEojewNO4G VwxOuAnfRx5rKnzgrAS9wYwXU1ESe58LigFMUcO8PdtKp2334Qi4wf9OcCTr4CfQ0zxU 3Rh0n6djGXNJnfSQCbdtwavw6sO2p4gtjjNbG/R3tRf5QRXq9zEnOznrIZYnMThloWJT D3/j2u2WknzntKed6L1u6ImsKZZ0Fnn7BSQ9tbCBYguKPJTzw5IDE1rn1dHxS3SjgfxP pjrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=SmPZcTUE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020aa7c683000000b004fb8210a7cfsi8222873edq.471.2023.04.03.11.41.36; Mon, 03 Apr 2023 11:42:00 -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=@sberdevices.ru header.s=mail header.b=SmPZcTUE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233186AbjDCScs (ORCPT + 99 others); Mon, 3 Apr 2023 14:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233233AbjDCScj (ORCPT ); Mon, 3 Apr 2023 14:32:39 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 678172D7F; Mon, 3 Apr 2023 11:32:37 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id A07EA5FD35; Mon, 3 Apr 2023 21:32:35 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1680546755; bh=DHDyHk/Pj446xdaKqd95W4mapo90ZP6LvwdXXHadk4g=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=SmPZcTUEC/r/hmqWA/RXtzYGsxgvLoChyG8kQjKU/HL31+tReLvkPAA3TthzeVsVg VzSeT+GKap7p/CePDVf1ApNhDaCmgEgakY0botQZv35ZHiCziL4gEUSGZkRxuexRB3 BKpBofnL7lsxwM2esYIpgMhIQ03rFS9fLEnuqlvERRfv2T8Ayonn9YxcGJe0l6zoQx SIWHE/kVIRbnn6Wy5djfW/xlc+O/BvdiNQBs++pTFoCsmhC9tvEpIurnHgftiOsDlC cXgZnNDSGyrKZTqqalFt3hKtrox+nKSJilVrXJqqKAUHeAD3GBa+7NMyeiR/OUalES 5wAs3UbYTTGpQ== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Mon, 3 Apr 2023 21:32:35 +0300 (MSK) From: Martin Kurbanov To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl CC: , , , , , , Martin Kurbanov Subject: [PATCH v3 1/2] dt-bindings: spi: add Amlogic A1 SPI controller Date: Mon, 3 Apr 2023 21:32:16 +0300 Message-ID: <20230403183217.13280-2-mmkurbanov@sberdevices.ru> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230403183217.13280-1-mmkurbanov@sberdevices.ru> References: <20230403183217.13280-1-mmkurbanov@sberdevices.ru> MIME-Version: 1.0 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/04/03 14:17:00 #21028104 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762181587361561068?= X-GMAIL-MSGID: =?utf-8?q?1762181587361561068?= Add YAML devicetree Amlogic A1 (A113L SoC) SPIFC. Signed-off-by: Martin Kurbanov Reviewed-by: Rob Herring --- .../bindings/spi/amlogic,a1-spifc.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml -- 2.37.2 diff --git a/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml new file mode 100644 index 000000000000..ea47d30eef43 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic A1 SPI Flash Controller + +maintainers: + - Martin Kurbanov + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + enum: + - amlogic,a1-spifc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + spi@fd000400 { + compatible = "amlogic,a1-spifc"; + reg = <0xfd000400 0x290>; + clocks = <&clkc_clkid_spifc>; + #address-cells = <1>; + #size-cells = <0>; + };