From patchwork Mon Dec 27 13:35:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 528488 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22BCDC433EF for ; Mon, 27 Dec 2021 13:36:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236831AbhL0NgH (ORCPT ); Mon, 27 Dec 2021 08:36:07 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:39570 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234115AbhL0NgF (ORCPT ); Mon, 27 Dec 2021 08:36:05 -0500 Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (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 smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id D1BA2402F0 for ; Mon, 27 Dec 2021 13:36:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1640612164; bh=dTI2zDeDg5Ov2MVesAdMFb4DLtPjkHsfZX6ZhlC4pnM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HmBLSIaKhooLStAl34yCWecDsemlm/PO8BJReovS+lBiIdSvSuMdEyIKetG80wmr6 ZRSwSCQoNhW+O4FnO4k0FlrLpusCqVRjvNhoAQLxbfZbYkpFh2E6SJY3ASXzkb2uem +IdOq21GNneLZuTLcMwIeuKWwrceeIDqgoFZ88vMx0pgVqXPgSjcFVQukfv/5oImgv +8aDkvXXswlwyDq2e3VGnnHlzOoJa7uH58NDpLcbveV0MZ7p7fqqsg1MbX2oYDCGcG MABdi0iF2YwawRZbBuroRve6mK4x28BE9ZpHSVzwmXYEwO/MFPRNWZBLxQuuM+n7YE H2PaNXW9JPggA== Received: by mail-lj1-f197.google.com with SMTP id z9-20020a2e3509000000b0022d8e7f5889so4607932ljz.16 for ; Mon, 27 Dec 2021 05:36:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dTI2zDeDg5Ov2MVesAdMFb4DLtPjkHsfZX6ZhlC4pnM=; b=TnEcd4XbH0rfWclai+J6B9scuWx/VX/oH5arlfS8QkmVlRXETV8mYmUx8+SygR5PEh PnMixdgLOc5wI5zPn4XvnZEjaOpu9gPsgzg//kdgA5h0m293MQXmXoSphOdKwQMDclyR IQnOj5dLOBIJ8eWfyPNESGedIwcj9DJXjroFUHEm2+RjDlrY1lXEMUaZq/8f8GXvc4cO ILz3jan+6uFlDu1p0On4eVII9Hi5ew4NjXwFcUvt8690M+9WjOAEem7lWNyEEptuoa3v xA/6xM5hMFggjg0vwbG/y3WRFI0b5hEdBDxHeA9yy9jg61TT6RNmU3Jq9ZcRMj4JovPD 8maA== X-Gm-Message-State: AOAM5317lLojV+ALzcGEhap0uu+bHmt7wg0kI04SND/hfr9j8oCHMQnw iKJC3z7VM41aePoRBaPpsk7r1LvaBhIPGwuEPUIS68Khh8+x4wfUNMZwmWVj22r0zQ/NhPawgmQ 6mj7ObqBGPQfJ2yEO396r1eHpPOTXLHfnISK0Eg== X-Received: by 2002:a05:6512:c28:: with SMTP id z40mr15234312lfu.160.1640612164172; Mon, 27 Dec 2021 05:36:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2MmCuF0ftBRccsslCA92Tl7JVpFwqCVAXujMVaa5RH22ZImz8yFM+eB/OQd7LrY9vX9AA5Q== X-Received: by 2002:a05:6512:c28:: with SMTP id z40mr15234303lfu.160.1640612163963; Mon, 27 Dec 2021 05:36:03 -0800 (PST) Received: from krzk-bin.lan (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id g18sm800107ljj.124.2021.12.27.05.36.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Dec 2021 05:36:03 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Michael Turquette , Stephen Boyd , Ulf Hansson , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 09/19] dt-bindings: mmc: synopsys-dw-mshc: integrate Altera and Imagination Date: Mon, 27 Dec 2021 14:35:48 +0100 Message-Id: <20211227133558.135185-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211227133131.134369-1-krzysztof.kozlowski@canonical.com> References: <20211227133131.134369-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The bindings for Altera and Imagination extensions are the same as for the original Synopsys Designware Mobile Storage Host Controller. Integrate them into Synopsys bindings to have dtschema coverage. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/mmc/img-dw-mshc.txt | 28 ------------------- .../bindings/mmc/socfpga-dw-mshc.txt | 23 --------------- .../bindings/mmc/synopsys-dw-mshc.yaml | 5 +++- 3 files changed, 4 insertions(+), 52 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mmc/img-dw-mshc.txt delete mode 100644 Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt diff --git a/Documentation/devicetree/bindings/mmc/img-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/img-dw-mshc.txt deleted file mode 100644 index c54e577eea07..000000000000 --- a/Documentation/devicetree/bindings/mmc/img-dw-mshc.txt +++ /dev/null @@ -1,28 +0,0 @@ -* Imagination specific extensions to the Synopsys Designware Mobile Storage - Host Controller - -The Synopsys designware mobile storage host controller is used to interface -a SoC with storage medium such as eMMC or SD/MMC cards. This file documents -differences between the core Synopsys dw mshc controller properties described -by synopsys-dw-mshc.txt and the properties used by the Imagination specific -extensions to the Synopsys Designware Mobile Storage Host Controller. - -Required Properties: - -* compatible: should be - - "img,pistachio-dw-mshc": for Pistachio SoCs - -Example: - - mmc@18142000 { - compatible = "img,pistachio-dw-mshc"; - reg = <0x18142000 0x400>; - interrupts = ; - - clocks = <&system_clk>, <&sdhost_clk>; - clock-names = "biu", "ciu"; - - fifo-depth = <0x20>; - bus-width = <4>; - disable-wp; - }; diff --git a/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt deleted file mode 100644 index 4897bea7e3f8..000000000000 --- a/Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt +++ /dev/null @@ -1,23 +0,0 @@ -* Altera SOCFPGA specific extensions to the Synopsys Designware Mobile - Storage Host Controller - -The Synopsys designware mobile storage host controller is used to interface -a SoC with storage medium such as eMMC or SD/MMC cards. This file documents -differences between the core Synopsys dw mshc controller properties described -by synopsys-dw-mshc.txt and the properties used by the Altera SOCFPGA specific -extensions to the Synopsys Designware Mobile Storage Host Controller. - -Required Properties: - -* compatible: should be - - "altr,socfpga-dw-mshc": for Altera's SOCFPGA platform - -Example: - - mmc: dwmmc0@ff704000 { - compatible = "altr,socfpga-dw-mshc"; - reg = <0xff704000 0x1000>; - interrupts = <0 129 4>; - #address-cells = <1>; - #size-cells = <0>; - }; diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml index 240abb6f102c..ae6d6fca79e2 100644 --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml @@ -15,7 +15,10 @@ maintainers: # Everything else is described in the common file properties: compatible: - const: snps,dw-mshc + enum: + - altr,socfpga-dw-mshc + - img,pistachio-dw-mshc + - snps,dw-mshc reg: maxItems: 1