Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5595944rwb; Mon, 5 Dec 2022 01:04:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf7dJQqiydhw021JVjAnuCZWK3sS7A9cs5NhIZFvaZQYNrPn2oAaEwJnhdS+PFODe0c6Qjvi X-Received: by 2002:a17:902:8347:b0:188:f570:7bb6 with SMTP id z7-20020a170902834700b00188f5707bb6mr77748394pln.74.1670231067554; Mon, 05 Dec 2022 01:04:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670231067; cv=none; d=google.com; s=arc-20160816; b=FbuJVGquEABdCA56+u9nYZU/aB4G4df/b0UcUVo688Mo9dboxp3drKrfPGKjnO8Pyi pLG55XXPkWI9yYeInWwTlywHVGBz7BSEyDPYmuWrByDg57AEI3LIHMZR8kiaJeN4IrkQ OTyhFkOwMdIDa8+Z7aqZEcGjyQWnruyn77wNF7onH8PcBlz4ZO+N2olh0yqQWKdZ6Xxv 30Ha6UqeRIO41BU9wxcyiNtzPyk5mAvDVR+ZiVRjsXjmXBaR1pa3hKmVsIT0S0siIy5G +9ChjQIktMKXWawqD5ttebRCpX4lqKgULVv73hqTNSWMLD2txJ/LdGxwgcG0CQb2ESTr 0LVg== 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; bh=rxrPeBgKlcZij8Pe1ZqHDEhtjd4hr009nB2vC8uQlMM=; b=d4KL6ksYOwUhWyObIAvGZUnbHrH9c9fzD97fH66UAQTQubxyNzE3tZndD1EGXa2kBU DwXCMbFqbfAqbqYVUylILJGYQnlsqvjpwjONtXsGfjmSkQ4SdOd2uQhBHb9g53KqGdBH gRPDjUfektfR5dPF1uU5PfoF6cllvUZqKvGocVdcAKhq2Zx5GhZptefHiaCEYVwrqEUc BzusKgJYc5iJVXbaK2/dFV+mgNxfjEArZYcwAPkUfNiUtLOiTS9TCEVbBrgIzKZgpKkb 2NDF09KCeHnrffZc+vFYeBXD15IOs/On7EXwEme8jMbHEOanvjNygBB4h6EEsIjpWsFf +puw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ng9-20020a17090b1a8900b002190fb26b8csi18099385pjb.51.2022.12.05.01.04.15; Mon, 05 Dec 2022 01:04:27 -0800 (PST) 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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232246AbiLEIzX (ORCPT + 82 others); Mon, 5 Dec 2022 03:55:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232237AbiLEIyn (ORCPT ); Mon, 5 Dec 2022 03:54:43 -0500 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A0C5D240; Mon, 5 Dec 2022 00:54:01 -0800 (PST) Received: from NTHCCAS04.nuvoton.com (NTHCCAS04.nuvoton.com [10.1.8.29]) by maillog.nuvoton.com (Postfix) with ESMTP id 8EDFB1C81290; Mon, 5 Dec 2022 16:53:59 +0800 (CST) Received: from NTHCCAS02.nuvoton.com (10.1.9.121) by NTHCCAS04.nuvoton.com (10.1.8.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 5 Dec 2022 16:53:59 +0800 Received: from NTHCCAS04.nuvoton.com (10.1.8.29) by NTHCCAS02.nuvoton.com (10.1.9.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 5 Dec 2022 16:53:59 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS04.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Mon, 5 Dec 2022 16:53:58 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 2507563A1E; Mon, 5 Dec 2022 10:53:58 +0200 (IST) From: Tomer Maimon To: , , , , , , , , , , , , , , , CC: , , , , Tomer Maimon Subject: [PATCH v2 1/2] dt-bindings: mmc: npcm,sdhci: Document NPCM SDHCI controller Date: Mon, 5 Dec 2022 10:53:50 +0200 Message-ID: <20221205085351.27566-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221205085351.27566-1-tmaimon77@gmail.com> References: <20221205085351.27566-1-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_PASS autolearn=no 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 Add binding for Nuvoton NPCM SDHCI controller. Signed-off-by: Tomer Maimon --- .../devicetree/bindings/mmc/npcm,sdhci.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml diff --git a/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml b/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml new file mode 100644 index 000000000000..196fdbfa16ed --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/npcm,sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NPCM SDHCI Controller + +maintainers: + - Tomer Maimon + +allOf: + - $ref: mmc-controller.yaml# + +properties: + compatible: + enum: + - nuvoton,npcm750-sdhci + - nuvoton,npcm845-sdhci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + mmc@f0840000 { + compatible = "nuvoton,npcm750-sdhci"; + reg = <0xf0840000 0x200>; + interrupts = <0 27 4>; + clocks = <&clk 4>; + }; -- 2.33.0