From patchwork Mon Oct 2 19:41:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 147567 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1738327vqb; Mon, 2 Oct 2023 16:00:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqKq9mPsYFj2q1vfRRl1wYls4Sf3iZQBnJXEs0j9tecvxLCoPhs9sW308xGbE1xEhux79v X-Received: by 2002:a17:903:1251:b0:1c6:25c2:e784 with SMTP id u17-20020a170903125100b001c625c2e784mr12420414plh.35.1696287632150; Mon, 02 Oct 2023 16:00:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696287632; cv=pass; d=google.com; s=arc-20160816; b=zHEZ9FWEkdv31rEJ8TGjD4Z80M10UE0erhoWFo+qpirx/UXDc0ZE8ylpLxONolS8/5 RRjaBESIpD2nm9QRnOCci1FhaytUItzG6otB5deffp6J9KxB3MdWUFu7mzJohlagDExj cZqz4WxkoiE6PjWvlb7IgGoC72YbrgbTdWd2FW8YGyY7lxEF/dU17ct4qtXrFaZQj1So 02nd1yD2SWBRqspXrGhYQWm+98Y4Wln23qR03l1TiJZTkceaVhXmWu0DQUHoOwycQ/hZ 8QwU0pRjnQi8E8YE5GpSicGFn7VUCmOBON1gdgHpO6Dff9CkgyjE3pWvSO7KjGca3gMc KVxQ== ARC-Message-Signature: i=2; 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=xh//HvtVKRvH9LtVE1IvCtdRPawMJE/q7BQZ/zoaMMw=; fh=u41FnnhIC+7My2QkUemiMb5zUn6LdDBvscPEeVUhEEA=; b=CeQ6IbCoS4dfOvkRjSk05vTwShNcbDwblv75KYAyIdxuMx3ch6gLQer4hbiX3+S/9u /ZK7DrhdISBFp/X0yhwfYZvmxw2S7mj/fJQWDYAwVRKPIqnPpUdKtwgMRABexLepMmCU jeVTYzhrUe+l+3WzoyhYEqTqVWa9ZLR2J4aArGaRoBSxmNU25xxW16wdDHPlWOKqg9zc Ua756S7v9QjD+6vSIvPm2oJJLpSJ8N3DcVhetCT4szV5n1/847YRp/gzurbLTfjYn0KM IURqgdR1PbYRFc8Owa6o+kLpoYbu1Qbz6B13cFC4MOojqTvn8V4yhYE7wfFNaBrRez72 /v/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nuvoton.onmicrosoft.com header.s=selector2-nuvoton-onmicrosoft-com header.b=fyQXyIpy; arc=pass (i=1 spf=pass spfdomain=nuvoton.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b14-20020a170902d50e00b001c432da203asi15322334plg.270.2023.10.02.16.00.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 16:00:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@nuvoton.onmicrosoft.com header.s=selector2-nuvoton-onmicrosoft-com header.b=fyQXyIpy; arc=pass (i=1 spf=pass spfdomain=nuvoton.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 10C6480B8DC0; Mon, 2 Oct 2023 12:42:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238951AbjJBTlw (ORCPT + 18 others); Mon, 2 Oct 2023 15:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238929AbjJBTlu (ORCPT ); Mon, 2 Oct 2023 15:41:50 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01hn2204.outbound.protection.outlook.com [52.100.0.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2A2BB3; Mon, 2 Oct 2023 12:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JhAJy4u4o9T28GEgZsstQ8MwX2Ft64SzBZcoXaIGMylLe+eN2Q6wRATzDZb8Tba5vsjl01RAIAScl3U69E/qvWrhF75vAxBLnp+aq73kSFe2oFMWO/UWhJXbYOeGVLYkRnNbBatas9FdMECeK46OwbIumli0qBjICbCrlShMNChb+ExZmxYgqPGT68zlK8PwUh4UIKVfYkEqh+4azAThq9Yfj+yuEdv/oXMLEN7prGzc4seCM27YhlFi5GOsIos7kLPJiiJ1JywFcZrF8UTOdzH1t9LPpI75WZ0QJAUvkU+i9nc4QAKgtdGWagxUIZBg/KGvfQAF1oAQvcJ3IsXPtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xh//HvtVKRvH9LtVE1IvCtdRPawMJE/q7BQZ/zoaMMw=; b=HMkFAdjXZgD+D2MaU4gKNi5r5GNNjFFfTila7JfqBfqHqXJXiqP89e5Ik9/b7qA3WsRL8sX6Lu2cmuUQIoC+P5laOydL4gyW+QILxrEMR65C5wDVfCfWXwn+paNxOPsq4Nf0YxeNMTYhy1k48fjRTbEOxPAw8JEcBEZO5vjE+RhdxTxB8GtXGm9e0v1LIx3LmPblN245RKf5hl7ePVco1QVBLQpbWS/73j4V136zsQtdzgbkEdLl4B94sDCge5H5yxHqYf+0HdnlxlJ8Vk0Gl+DL8+IZPq3wmmO2PeIApfBW9zqQR718wyMsuD3TQ0e8OrR+y1ICKtc8duId4XSY3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 175.98.123.7) smtp.rcpttodomain=antmicro.com smtp.mailfrom=nuvoton.com; dmarc=fail (p=none sp=quarantine pct=100) action=none header.from=gmail.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuvoton.onmicrosoft.com; s=selector2-nuvoton-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xh//HvtVKRvH9LtVE1IvCtdRPawMJE/q7BQZ/zoaMMw=; b=fyQXyIpyBaZTPBm7w5WrcjBNSsIEk+vJvZ4AsPwqxoxq/Dm0dGXO5MBDkQ7Dh1zhKMHuHfi+4kmsIIWZGZbys05CcssWPr2PBYym7Vo2QDNe+OrUCtSljuvalIKt5D8UjMQk+81ONfhq3Is8U1ujtGuvMuiImjLoYP7XdFcBVmM= Received: from SGAP274CA0008.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::20) by TYSPR03MB7884.apcprd03.prod.outlook.com (2603:1096:400:47b::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.28; Mon, 2 Oct 2023 19:41:42 +0000 Received: from SG2PEPF000B66CE.apcprd03.prod.outlook.com (2603:1096:4:b6:cafe::9) by SGAP274CA0008.outlook.office365.com (2603:1096:4:b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33 via Frontend Transport; Mon, 2 Oct 2023 19:41:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 175.98.123.7) smtp.mailfrom=nuvoton.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=gmail.com; Received-SPF: Pass (protection.outlook.com: domain of nuvoton.com designates 175.98.123.7 as permitted sender) receiver=protection.outlook.com; client-ip=175.98.123.7; helo=NTHCCAS04.nuvoton.com; pr=C Received: from NTHCCAS04.nuvoton.com (175.98.123.7) by SG2PEPF000B66CE.mail.protection.outlook.com (10.167.240.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.6838.14 via Frontend Transport; Mon, 2 Oct 2023 19:41:42 +0000 Received: from NTHCML01A.nuvoton.com (10.1.8.177) 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.14; Tue, 3 Oct 2023 03:41:41 +0800 Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCML01A.nuvoton.com (10.1.8.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 3 Oct 2023 03:41:41 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Tue, 3 Oct 2023 03:41:41 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 6CD5564741; Mon, 2 Oct 2023 22:41:40 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , , , , , , , CC: , , , , Tomer Maimon , Rob Herring Subject: [PATCH v4 1/2] dt-bindings: mmc: npcm,sdhci: Document NPCM SDHCI controller Date: Mon, 2 Oct 2023 22:41:37 +0300 Message-ID: <20231002194138.125349-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231002194138.125349-1-tmaimon77@gmail.com> References: <20231002194138.125349-1-tmaimon77@gmail.com> MIME-Version: 1.0 X-NotSetDelaration: True X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[175.98.123.7];domain=NTHCCAS04.nuvoton.com X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CE:EE_|TYSPR03MB7884:EE_ X-MS-Office365-Filtering-Correlation-Id: 47373453-7fe0-4274-86db-08dbc37f9a9f X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oFvI3z8IbK/tswUPemzCKxa+zCnYVQHVEAtBEYYR9/gC/osVB4bf61TdpmM90bh5F8MYtYKGB2r42fDB9wE6Z+eaD2Zb0H1mvegpBe1lAtc+uWRzXQyzSxXSO+GWwkEpGgO3CzUPd0aViYWA4iepy6zObFNFlLtXnaRSEpIaTTGYwcstD1ItwhwJMiXMd3nLTgGGz/OETX9FXlfBDabCoKmstfy2rQLffKn8/5OOcnr1gXAtjgAGr0cQn2HVKY5lvbnUq8TyotEpy6yXAmm7vYR6CnVyyzzdBnGeIiVaHt7+vTOEBiQ3A3R+RBVLAKoaUOhZTOE3Ggp7iL8oQMZXh+RkQunIJdkUxTPGEJscA3hU5a4NBHpissdLaYC6M5vzL/hjfcjuKTyYcIWNX/+Qg2lYyaDnnmxrBQ3Vf/x+OXfdvrpv21SUp2G0oplj0VA0Q11+jhyDQT8vC/ngtwKsFty904asVJ67QHJQkamFxK6+ZqsvY82n5kw+zNRB9JzCig54+6eijO6SBr/GHcxp2LBxfSw/aclXz/L8B/bk/8stQIS2X8Ls82w/aP3I7l2YBJysdm9iUQlhqGId7LZskkgapKseY3csKwsb08/KscX7EyewDH6SAmCmuwfpyfSNGnhb3+Ondy7/AhyNHy6pTOek4hgi8Gjskf6eD8XoMaFpNqcREukCvfBg5L0+1HLI9bhW7WY8zXAZ+GVX1liFxvv3du057oWHUA/y3WAKXAzMIOhFGs7CYiGxNCjVnVfaj6RYUb//P2f80cUCw0hB87fbo7dDpfKcx8zfAQgkNWtL1jAC9a8R3EqSPwFaTYtn4dmzzlgEr/lPel5mpwQczLvJKSNjbRzPewib77Gb00FqhD3fLUGwKaJasYarsZwTER88VhimpGKTKLGXxOJDoeAkLe7BBAYrPpJ2ohnyE8YYi0ZbEJkTFgkVFgu0hRtg4XjhXqYPnxj2RWnOmuPBiGZ7m3adEHcnP63QXDS7I4MTKYbNqcI35S3HzrIuMQL0FJKHqiMD5Ditm83IyvRnzQ== X-Forefront-Antispam-Report: CIP:175.98.123.7;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:NTHCCAS04.nuvoton.com;PTR:175-98-123-7.static.tfn.net.tw;CAT:NONE;SFS:(13230031)(4636009)(396003)(136003)(346002)(376002)(39860400002)(230922051799003)(61400799006)(48200799006)(64100799003)(186009)(451199024)(82310400011)(5400799018)(46966006)(36840700001)(40470700004)(36756003)(40460700003)(73392003)(40480700001)(34020700004)(82202003)(36860700001)(83380400001)(55446002)(5660300002)(41300700001)(4326008)(6266002)(26005)(42882007)(336012)(2616005)(8676002)(8936002)(47076005)(6666004)(1076003)(81166007)(7416002)(478600001)(966005)(2906002)(76482006)(921005)(356005)(316002)(42186006)(54906003)(70206006)(70586007)(82740400003)(110136005)(83170400001)(6636002)(45356006)(84790400001)(35450700002)(12100799045);DIR:OUT;SFP:1501; X-OriginatorOrg: nuvoton.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2023 19:41:42.4372 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 47373453-7fe0-4274-86db-08dbc37f9a9f X-MS-Exchange-CrossTenant-Id: a3f24931-d403-4b4a-94f1-7d83ac638e07 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a3f24931-d403-4b4a-94f1-7d83ac638e07;Ip=[175.98.123.7];Helo=[NTHCCAS04.nuvoton.com] X-MS-Exchange-CrossTenant-AuthSource: SG2PEPF000B66CE.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR03MB7884 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 12:42:08 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778686500336735175 X-GMAIL-MSGID: 1778686500336735175 Add binding for Nuvoton NPCM SDHCI controller. Signed-off-by: Tomer Maimon Reviewed-by: Rob Herring --- .../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>; + };