From patchwork Mon Sep 27 12:50:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12519841 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F102C433EF for ; Mon, 27 Sep 2021 12:51:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 55F3061052 for ; Mon, 27 Sep 2021 12:51:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 55F3061052 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3MbUhvyhgyB7pD5OMAWqHxEHy4JOzY/6qxvovZ0JWjU=; b=Btq6BU1LbPWKhk lpokfC4jqGNa4kozIpFfWtOaCUk3Rd4a/2egXPfJnRI8SH8+zA42RvFp/iE0bS67FJeBlxnIgEaQn I/8u8/4ec7J1bcgnqhBUWpk3oznXpGS0WtSV99FPgXuJenJ1RH6rwTYsiO2UMsmJDibYX/bmMCW7M k9954IqFrE6HWLtbqli9BYHgoII4tMU47O+ZtkleGTdoDFOQM2ROzS8DPriv7vY163DmIHYTr6Cgu OGftQq0L0vtQ4850/sF9uiBBlfVvBbyVk+kQrRjFks7SOs8B6JtSLi5bq398Fre3ItCLAI7mg7dZc 2BntNn2ggvDkzZ6uk9xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq63-002gYs-K3; Mon, 27 Sep 2021 12:51:03 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq5y-002gUj-Gd for linux-riscv@lists.infradead.org; Mon, 27 Sep 2021 12:51:00 +0000 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (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-1.canonical.com (Postfix) with ESMTPS id 88BA2401A9 for ; Mon, 27 Sep 2021 12:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632747050; bh=jeMIEXiKB7wPBA3ymi6+lgomz3wpzPFtflbOU3+5glo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=wE0XwH8WPXph9KdF2juApvUxO+UdLhcnPvuQqEi9W4T9w8WJZEtdC4iL6OHkt0X0G rGQt3rAQ+1qFdsTHSTkaKmILUyFy1w3grGyxCCL12KUCw+BWOkElAalBtSnGkFgRDf 62BayEZqbQA7laTQUDgtrNJaUTCIXKHlo+g1zcDTL8gU9XEyVZCoEIDtFS1m+fgFS1 a8EkcCQeuQWv9baGN1MxqKBWKPCEogNfAiBX/0XMaW4Gw2DkpNgPDs9Xzm7BroxQth pMsegAmg5UI6B0jg1tjruXLw8FMIHcoWlPlLiIY42UHPAaP92kH4RJEAwPB61QxSs0 5odx2S0nEyJ7A== Received: by mail-lf1-f70.google.com with SMTP id x29-20020ac259dd000000b003f950c726e1so15708140lfn.14 for ; Mon, 27 Sep 2021 05:50:50 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=jeMIEXiKB7wPBA3ymi6+lgomz3wpzPFtflbOU3+5glo=; b=P5YUuGgCpK0jg07kYc9l6pMXEP5TAQbduv4u6B099nmdUc+7YpbSUx6s8P7rYKMToM x8XbVDD4FMyFSJ+zCOLKa12Eg3J7zfeauhBqNMdFJU2OfuKcrDDeDyhWsb+gmGE3BLHy YgCCU1dtiF4nOBbCLNPZaHUv25pZ3pxB8Z9T0Yrr6Io2a63+gQ98z3pVbx+M3I/mpALH lu9xDUNuHS8jvknrccaRtbcIBCphNiHQusiSxfgNHF16p0GO6KjK1aKjXibth9nMI666 biTglO0fHwOJ1zP9ARCZiFIvaRmTbO7IrCOH+8Xi7MiG4rPtiFrws3/ZnG/kiJsO3o2l Cj2A== X-Gm-Message-State: AOAM532CHQLphACfa8IcU/E9+c4nJ+xNyJ+HoBQbDFB6xUosGxnrxJwF PZxlw9qUIwejfdDd0I5Tok0ll7ZGvVrsL4cIy8STN+9fHTuEubLioZnPOy8ozo2/gaF6iL51aTU iwXTMbDWey67euYDiHYELjNvcKMt0vtreGBbVE3PZXMG8bQ== X-Received: by 2002:a2e:140d:: with SMTP id u13mr17389337ljd.298.1632747048870; Mon, 27 Sep 2021 05:50:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4XgRv4NIfqOOqXINjjLOjy/LJUFeE0f5kcR1+muR49/z/9l4mGGfT5izyr31+Z/ahcTOfdA== X-Received: by 2002:a2e:140d:: with SMTP id u13mr17389319ljd.298.1632747048691; Mon, 27 Sep 2021 05:50:48 -0700 (PDT) Received: from localhost.localdomain (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v28sm1592102lfi.22.2021.09.27.05.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 05:50:48 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , Conor Dooley , Masahiro Yamada , Piotr Sroka , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v4 1/6] dt-bindings: mmc: cdns: document Microchip MPFS MMC/SDHCI controller Date: Mon, 27 Sep 2021 14:50:39 +0200 Message-Id: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_055058_797292_56495FEB X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org The Microchip PolarFire SoC FPGA DTSI uses Cadence SD/SDIO/eMMC Host Controller without any additional vendor compatible: arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dt.yaml: mmc@20008000: compatible:0: 'cdns,sd4hc' is not one of ['socionext,uniphier-sd4hc'] arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dt.yaml: mmc@20008000: compatible: ['cdns,sd4hc'] is too short Signed-off-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring --- Changes since v3: 1. Adjust commit msg. 2. Add tags. Changes since v2: 1. Document vendor compatible instead of dropping it. --- Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml index af7442f73881..4207fed62dfe 100644 --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml @@ -17,6 +17,7 @@ properties: compatible: items: - enum: + - microchip,mpfs-sd4hc - socionext,uniphier-sd4hc - const: cdns,sd4hc From patchwork Mon Sep 27 12:50:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12519833 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38A70C433F5 for ; Mon, 27 Sep 2021 12:51:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0210160184 for ; Mon, 27 Sep 2021 12:51:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0210160184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=08heGjGXeYGS9ydP9JmctZ0NCFOBbPoS26qp4xlpFwM=; b=102gKyNLlKl/Kf tm+rHvv/tYgSPAju27JvoYa+hpvQS6VeVANJwU6gAQnGkE5aiyyml5WzSxF6N5fkKKA2r/kVkR44u YDXC6iemd9OSkgVCi2yWmYZkE6cWukyxULKNbm+Aj7grUMGEgPi3A8I4sinKRczj6X8H+bQ/XrH4P Raa8+AB6gUxa22TSMxMD5VvWxb4NV3Q/uxZbY64D+fMAgsFThA5cLqxRb9QNNVYV2gJfgH//dlWTn 2vs4I1m3LN8GEWJqMhVd2pWIu6mGdUfyKrXZPEmNNb9sdX41a1p7rxgMdpjSv0K6M+GFHtobKUp4Q qzLMw+qhlhqdr+69Fz7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq6A-002gbr-PI; Mon, 27 Sep 2021 12:51:10 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq5y-002gUl-Gg for linux-riscv@lists.infradead.org; Mon, 27 Sep 2021 12:51:01 +0000 Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) (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 9AD7040622 for ; Mon, 27 Sep 2021 12:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632747050; bh=fg5AL23aTrFGgdddnLfZwpvVHS8H57YnvdUfy7tZi0s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LU8opipw0oFRXrF7ujUYUfXWp/tG3hxHE/krscOVPQwhgbCAHWo7r3ZSk8HUUWybN Jwc4CkjMnn2nJVLme9HUIJReuLurmYdfKHGM5IxznE6a/6LYtvJvUoveLpwr5UF8ZZ 0I3CHIOqhtqE2WtRz5n1TZezQM21bxvnM/uWnRupmZXGWOnn+oJIztRkdYSt+WzOj7 PxpdgpZmhkbI2km3S00lj8+6qtWs2bj9LH4c/fgaTwVNPLx0Q76f/W/b5j6hp9r5Ca 5lLhTXAyzPjXnjssUryiAbUw7oh15fAMJgyxou74u55Pn3T/K3HuLi9TZtYd1wqObH eqFjiEbqiCsAQ== Received: by mail-lf1-f72.google.com with SMTP id h27-20020a0565123c9b00b003fca9e11144so14624903lfv.19 for ; Mon, 27 Sep 2021 05:50:50 -0700 (PDT) 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=fg5AL23aTrFGgdddnLfZwpvVHS8H57YnvdUfy7tZi0s=; b=Sw+Kw0AAQqPqyeyPytvJFxhY7tFLWNkrHOAii+CMDdMyNo8EsCvggvAdz8BM4Wx8Aw QgFIwQBgYKQ540d3l0u8V5adqSrBNGqkZTTPFzevKegtaY1gPr+sI5nbsIbNyQH6f8uk tk90SQdCxJ+vM1B4F4qthX8R7N2MvLjwq3E8jeqMs7ewdtTplVqGHD/8IUr2iJ337E1H IXEf7JO2+NLIuLybyT6X4mNIAcSExeStKBButchhO7prA3wj+ldXgJwx95qwPTUaoojr mAussGqVrrRHGMiC9/Z+BFM5KRsmJkKcvYfaGQKEieWrew5QacBL2dCeSl+s/EvzPeuy LUsA== X-Gm-Message-State: AOAM531uNzRXOs3lsoCt3PK9YQuW++dG340s7ySbBCLhq5qn42woSEQl idbR8hIYq4Km+W/HlorT/MX9M4taWnwUECXGVHLXn3GRF6+sYzqjfqPgiaGmj2bH6Xvq8pNt/6o d9WMfgW3pTXYSZCk7wKzXSGeQxFxhoXcnpehWMHarkP9zaA== X-Received: by 2002:a05:651c:290:: with SMTP id b16mr29935198ljo.178.1632747050065; Mon, 27 Sep 2021 05:50:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/5dTX/1Af1ajiS9j9gLC6Bz4Td8g8uT1FEsyWbZSka03MXx5jiPjSYFk+SSYjibvpBFNOdQ== X-Received: by 2002:a05:651c:290:: with SMTP id b16mr29935186ljo.178.1632747049901; Mon, 27 Sep 2021 05:50:49 -0700 (PDT) Received: from localhost.localdomain (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v28sm1592102lfi.22.2021.09.27.05.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 05:50:49 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , Conor Dooley , Masahiro Yamada , Piotr Sroka , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH v4 2/6] riscv: dts: microchip: drop duplicated nodes Date: Mon, 27 Sep 2021 14:50:40 +0200 Message-Id: <20210927125044.20046-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> References: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_055058_841563_8DCB4E98 X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org The DTSI file defines soc node and address/size cells, so there is no point in duplicating it in DTS file. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven --- arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts index b254c60589a1..3b04ef17e8da 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts @@ -9,8 +9,6 @@ #define RTCCLK_FREQ 1000000 / { - #address-cells = <2>; - #size-cells = <2>; model = "Microchip PolarFire-SoC Icicle Kit"; compatible = "microchip,mpfs-icicle-kit"; @@ -35,9 +33,6 @@ memory@80000000 { reg = <0x0 0x80000000 0x0 0x40000000>; clocks = <&clkcfg 26>; }; - - soc { - }; }; &serial0 { From patchwork Mon Sep 27 12:50:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12519831 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A5CEC433EF for ; Mon, 27 Sep 2021 12:51:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2298560FF2 for ; Mon, 27 Sep 2021 12:51:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2298560FF2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=52tX54o/AoTvvyh5KqXDdiJcfa2KlUvI/JR6UaAf50I=; b=4Vpo9HHiRe15ol cmdCDoUApU2u3gm3v5wBw3hU6nJI/pPAQsPF3Nr6RlXHrDQJeubCSnDCRkziXKtguST8FlHM0SAxD Hmbg/Mfja6Zmy8AlGduBHHr4cH0gVGwEYpWaqy6KssrBEjML8LYy9Hx87xEfvlDuUglDtwsjGKVm0 wKqTxhl2dptN9uFt1FXOjc4j5cF/J3AmVg8LS1AWgAEs1PQyeMU4H7vdgEcJYXkHkvQGngaWyVTI+ FO1umI6NhPj12cQnmHKZ8yX8KOImYh9iftX313aw/FWaIXiZL4wSh4QL+W4bHnpRKEtsg74DYtAMg bpNLIDIQu0jYbACuv/mA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq68-002gax-Tu; Mon, 27 Sep 2021 12:51:09 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq5y-002gUi-Gf for linux-riscv@lists.infradead.org; Mon, 27 Sep 2021 12:51:01 +0000 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (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-1.canonical.com (Postfix) with ESMTPS id 12F8140863 for ; Mon, 27 Sep 2021 12:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632747053; bh=kbXZWPaqkE+qi2UkSZceVKtKOIxxsWqidwnT9f4+61Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=THO9chQjlyXUOoyS0LHwXU56qRRp74l7Ff1/v7AoAfKQGehO8kSB0sHLjVrrzou2C vaku7+HTHqfzVbm6gtUUnX/bGMywVb1xhAFb3xrV+4Qp54cIgs0TDSr+VSeZO0ar/j N5XYyMYIiQ6OqMBXPlRssIXTzJyrowZejJAcK14QICkJ8IBQhY1R4OFP4QMJxrMNwN v0qxQymEIobi7d9k2QDPbALENepVo3566kIxhNx9ovXBQegXJCbKAFo3WH9TRKcR7H JBytKyhsXRNV+iJFwE+g/BlHXZgx4xpBoyyjm53l9eyiSd+zVIwOCYuLXDaq2wrq27 aMWoMkeDqojIg== Received: by mail-lf1-f70.google.com with SMTP id s8-20020ac25c48000000b003faf62e104eso15714973lfp.22 for ; Mon, 27 Sep 2021 05:50:53 -0700 (PDT) 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=kbXZWPaqkE+qi2UkSZceVKtKOIxxsWqidwnT9f4+61Y=; b=dK9smX/v2wFcletuwidB7vet+4ikJ05tQrC+koLg1ahmQMV36DdtQZIlI6O4R8dJxA BwAw82dgIRQZdZMrE3QFkteMFsiEV+078wK9YOwYz4ge6goGwNyqYUSsJbAXpldZGZur RQY2UQQH3xaLOu4+r6V9+7nxn+qvsA0QWlOHA1J9tb5wS1AZtFrIGlHEfAsPBZ+4F7fV c6aD4bHIdy+2CDE0S1AJb4lrdCH2enCPXGr6itQnouktr1KIVah15xj0D6KNjf0vh6xs IC9+UE8w2W4x6v1SOUmT5Eyb6mXOYd4BW/9ZQYnVB+J0ll3ae9U7N5OKojW96+iNM0yo oNsQ== X-Gm-Message-State: AOAM531RxLDPHdy4PJPysDh3CmRrwVhz7jdN3m+gVZJlD5rMyfYwqFMa 8vvjyuRVYsdd73v3HRL9aLBnkcluQ5NxQcOYZ9H+TgygRlk7XN4y75AdA5yTpa9AWV7UqB7E0a5 ntC4RnbRpUR6pryvax+qcqXAtrkZazE5LuogzkdLYp31XoA== X-Received: by 2002:ac2:47ed:: with SMTP id b13mr25204256lfp.647.1632747051399; Mon, 27 Sep 2021 05:50:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMaM9Tc/3Sf/+ppdhry9L6l8UQ0qQ8h8nkUrM4xE3wk1hVkdcDG25FWuf57DjlukjnWtXjcQ== X-Received: by 2002:ac2:47ed:: with SMTP id b13mr25204228lfp.647.1632747051152; Mon, 27 Sep 2021 05:50:51 -0700 (PDT) Received: from localhost.localdomain (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v28sm1592102lfi.22.2021.09.27.05.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 05:50:50 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , Conor Dooley , Masahiro Yamada , Piotr Sroka , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH v4 3/6] riscv: dts: microchip: fix board compatible Date: Mon, 27 Sep 2021 14:50:41 +0200 Message-Id: <20210927125044.20046-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> References: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_055058_878500_3DB94FCB X-CRM114-Status: GOOD ( 12.55 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org According to bindings, the compatible must include microchip,mpfs. This fixes dtbs_check warning: arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dt.yaml: /: compatible: ['microchip,mpfs-icicle-kit'] is too short Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley Reviewed-by: Geert Uytterhoeven --- Changes since v3: 1. Rename DTSI model to Polarfire SoC. 2. Add tags. Changes since v1: 1. Use microchip,mpfs for microchip-mpfs.dtsi, suggested by Geert. --- arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 2 +- arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts index 3b04ef17e8da..07f1f3cab686 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts @@ -10,7 +10,7 @@ / { model = "Microchip PolarFire-SoC Icicle Kit"; - compatible = "microchip,mpfs-icicle-kit"; + compatible = "microchip,mpfs-icicle-kit", "microchip,mpfs"; aliases { ethernet0 = &emac1; diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi index 93730afe6c58..1d04c661bccf 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi @@ -6,8 +6,8 @@ / { #address-cells = <2>; #size-cells = <2>; - model = "Microchip MPFS Icicle Kit"; - compatible = "microchip,mpfs-icicle-kit"; + model = "Microchip PolarFire SoC"; + compatible = "microchip,mpfs"; chosen { }; From patchwork Mon Sep 27 12:50:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12519839 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56FDFC433F5 for ; Mon, 27 Sep 2021 12:51:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 228A160184 for ; Mon, 27 Sep 2021 12:51:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 228A160184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qObNwjIvXT5yrTKVR21r5gVCNSvrpoFpCB02UU3n61U=; b=Xy5EeyguhpDO3X jN+CjtLpo2yCuU8E9lvq41KCDrFGZiKKUk5h7ttWpIQ6b3UqdWqvL6jsPDeY622G4vJUZ2lYFSYe0 kdQboN601UdYoO2EME3gdB59xe3xzXb2NCm1A/bSQiEwHzN2LcXl88Jetpl0qRho3lCeRWxpSu8ti b3sBYMVlsC6Jg0/6CiPF6eIEEODlGjicc6hZVeRrNOGrt8kt++H8nm3QV86YAhOr9c4yYZyHfQmUq jHVb5sprEZx5S8Qi60nZj5e5qGqsDlxqkN1HH+MioQbRy8DUnYokp3PaA/hHQ+9dCL8BxiHbHaamw Ai40Fqqpq1Z872WU4Icw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq67-002gaD-24; Mon, 27 Sep 2021 12:51:07 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq5y-002gUk-Ge for linux-riscv@lists.infradead.org; Mon, 27 Sep 2021 12:51:01 +0000 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (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 E4261402D9 for ; Mon, 27 Sep 2021 12:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632747053; bh=SyASrYorVTAId0TEMO105U7AUWnylOwqoa8kfxON3jE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vfQ4LX+VFyA8BvK/3NUb+tMI6uNuf0YvCTldR1jv+F4WCudVFBgshsEB77iyMoPAx kNgUmH9+m70q90NmIfa8Ud9NVpzFpfJMZ6SNU/5GqV9SV12n59Af4sRn21z5CP2Ohw QiFkbXGwLXUXBIMe4pu3gXB9pIx95BO010Mo5RhGaWpIR8K4M9RRRr1zo8nwkuq6EQ eMXrq8+usk32w4jBYsnpw5pOTnbvnSn9xQQaVxuzmSI00SRfmq8o4vXoW0f+IBhf6k WI7nBdMVL5N9/OOj1P7AzQh4iMVdHIHVowRtkFve3AfkDZlJmXX9+4mMGUndz2BLk9 DndwNDcLzW+KA== Received: by mail-lf1-f70.google.com with SMTP id s28-20020a056512203c00b003f42015e912so15751242lfs.4 for ; Mon, 27 Sep 2021 05:50:53 -0700 (PDT) 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=SyASrYorVTAId0TEMO105U7AUWnylOwqoa8kfxON3jE=; b=0parsxpulTZlKX58AWouC4lVwkhMI1fzjUuj/q4w7tH30k33UbLWdkofGy9quXvLuN pp+ra/HepVwMuRQ54g5hM6gmR775ZQIww1dqqMr1/4ocFPgGW7BuxGIYYeX4UN2nnzsH WRnl1gdN7k0KS3MUPNtxC3SjVHry41nNI6RwLbcnr9TRZo3eBlsM9VaiWrf0/R1t6xXG 4IbOJhNQZ4aD9pqOrBbciPFCnbaS2UDNTutYSA2uQl96Q4AFom5YgdQcN4CbFAJIl3FN 2Wc/NLnHNPzqjOCG9HfSvtcQLKwds47giSc1Xnytwuc4DWY4TONqKyLl064HyergdVPr n8/A== X-Gm-Message-State: AOAM530U2QodlXScICXq6D3eZJ5POEj9qRNhB2JnPJtt7aA4RXUx+yO1 LMx9gy6NHri5tCRmVWcm8sWHCCo0SwUpUy5OL0ExRs/ewAJsm8fRl5KJs58R2/lbN4VdBt/WwCT HJAAJaYir8EF0xtnT0Z1/bIqOwqETPi/HjWXYFwDgZtlj4w== X-Received: by 2002:a2e:a782:: with SMTP id c2mr29270306ljf.458.1632747052645; Mon, 27 Sep 2021 05:50:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycBjgE5omkxVTRNXAq3XyHF8zrpabI33eB8OG82RLQU8OwyqzbTmKcsU4pMNaQM29AXA8IbQ== X-Received: by 2002:a2e:a782:: with SMTP id c2mr29270295ljf.458.1632747052477; Mon, 27 Sep 2021 05:50:52 -0700 (PDT) Received: from localhost.localdomain (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v28sm1592102lfi.22.2021.09.27.05.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 05:50:52 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , Conor Dooley , Masahiro Yamada , Piotr Sroka , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH v4 4/6] riscv: dts: microchip: drop duplicated MMC/SDHC node Date: Mon, 27 Sep 2021 14:50:42 +0200 Message-Id: <20210927125044.20046-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> References: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_055058_826134_F9EF2FA4 X-CRM114-Status: GOOD ( 14.11 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Devicetree source is a description of hardware and hardware has only one block @20008000 which can be configured either as eMMC or SDHC. Having two node for different modes is an obscure, unusual and confusing way to configure it. Instead the board file is supposed to customize the block to its needs, e.g. to SDHC mode. This fixes dtbs_check warning: arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dt.yaml: sdhc@20008000: $nodename:0: 'sdhc@20008000' does not match '^mmc(@.*)?$' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley --- Changes since v3: 1. Keep two interrupts. 2. Add comment. Changes since v1: 1. Move also bus-width, suggested by Geert. --- .../microchip/microchip-mpfs-icicle-kit.dts | 11 ++++++- .../boot/dts/microchip/microchip-mpfs.dtsi | 29 ++----------------- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts index 07f1f3cab686..fc1e5869df1b 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts @@ -51,8 +51,17 @@ &serial3 { status = "okay"; }; -&sdcard { +&mmc { status = "okay"; + + bus-width = <4>; + disable-wp; + cap-sd-highspeed; + card-detect-delay = <200>; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + sd-uhs-sdr104; }; &emac0 { diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi index 1d04c661bccf..b15e93d1702b 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi @@ -262,39 +262,14 @@ serial3: serial@20104000 { status = "disabled"; }; - emmc: mmc@20008000 { + /* Common node entry for emmc/sd */ + mmc: mmc@20008000 { compatible = "cdns,sd4hc"; reg = <0x0 0x20008000 0x0 0x1000>; interrupt-parent = <&plic>; interrupts = <88 89>; pinctrl-names = "default"; clocks = <&clkcfg 6>; - bus-width = <4>; - cap-mmc-highspeed; - mmc-ddr-3_3v; - max-frequency = <200000000>; - non-removable; - no-sd; - no-sdio; - voltage-ranges = <3300 3300>; - status = "disabled"; - }; - - sdcard: sdhc@20008000 { - compatible = "cdns,sd4hc"; - reg = <0x0 0x20008000 0x0 0x1000>; - interrupt-parent = <&plic>; - interrupts = <88>; - pinctrl-names = "default"; - clocks = <&clkcfg 6>; - bus-width = <4>; - disable-wp; - cap-sd-highspeed; - card-detect-delay = <200>; - sd-uhs-sdr12; - sd-uhs-sdr25; - sd-uhs-sdr50; - sd-uhs-sdr104; max-frequency = <200000000>; status = "disabled"; }; From patchwork Mon Sep 27 12:50:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12519837 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCE89C433F5 for ; Mon, 27 Sep 2021 12:51:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A04C60FF2 for ; Mon, 27 Sep 2021 12:51:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8A04C60FF2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X/Otz6IKwN6saZFOi/MOWHsNXsiqImrHIXpuQOND+Xw=; b=P4tgmVQVyWjjQW AXNCMWBjl6ct1RbsP7MxJdgCWBTY9cLYpq8RUXqjk9N5mqvtck7cc7/VHiMGRGdMGelTxYoza/wcF xSPVDMC6nfsSHu/CLh4qB2B4hs18M7M+RKOXyWuy5rajXwHjbPISKU4T1+pH7PZZG4LUiR77fUGIU pVcKfpQGVnCSgVU9vAK3swYEF4z1WuvPXbXDykNi1b1OhMUOsgLHPEjXc1P1j0ia2CGEv7J4VIeFP KGpOFk/Q9+IVIhXKXOqb7bRrqfULVCXpip/gt+X1h5osZk/Nh3OBAo7QnWo87oS8Mq92C3a3drE+I rcPoYKgY6Irf9Tkq2l/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq61-002gXw-V1; Mon, 27 Sep 2021 12:51:02 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq5y-002gUm-Ge for linux-riscv@lists.infradead.org; Mon, 27 Sep 2021 12:51:00 +0000 Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (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-1.canonical.com (Postfix) with ESMTPS id 3971840828 for ; Mon, 27 Sep 2021 12:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632747056; bh=gL2n73HFUZMgICxi9XxH4YAlloJV26Mt1lAxrRgunho=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lNx+trnLPezcfVob9zFV9tc2LMYLcLEhotK8CYHYYBenPKGfwZNiDD3dsh9VLU6Un 6RDZo9JrnfuuQ6ARvY7Rfkw3nQ1HfZGYoCHeJDCJbZA59WCit3Om4hrQzdpjkytb1Z 8i7j7EhMv144Cez575suNq6qQFFKBa0lebnmpBWCB/848ELlhTzv6bGo8FzUrvG0kY Nn9M4gLR1JC7Pn0sWYynahOBs98nWTif7dErssYCpwIo5hRhiKeWUUC2QHw8epvKTN O55Hz527rOlSz3t/+MNEzZeNXHUAABjlKGKTAGM1hdF5oKwyJvNBlJTQ8fmKVleXXW jmdSf+4+RIyag== Received: by mail-lf1-f69.google.com with SMTP id z9-20020a0565120c0900b003fce36c1f74so3732971lfu.9 for ; Mon, 27 Sep 2021 05:50:56 -0700 (PDT) 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=gL2n73HFUZMgICxi9XxH4YAlloJV26Mt1lAxrRgunho=; b=4uSDEq4eUAVUHHiD/8Sqdd1Ik6I+pE5VJ6IUXI+WMVg9YH8NYH9JsXYspGjsc+euRY vn0dqEW8ac4f7F04kBhBRNO5IK/TPQzBkopvN32QPYyiSCwTQz5DM3Swzrq/tPeYBHJ5 5XlauMaVhmM5O4OCDolMKK9rebZtaA4FZZhHM32hSKEDW9itEoJnb9m5FOf+wPIBkxVV mnLm+NwRBHyfrQcUky7GIxqrFaKy2rI49cPoQSh18NwN/4b2NrBOkCOGv45jOGM8kJZc X6VLQgYyG0ruB+Mb9uqTiUOM9TWxd5gdB/eVDF+uyu6VkrJVfKrAIq0bgJ3Zwf8Yamrz lTeQ== X-Gm-Message-State: AOAM532Ao1TIhp/fLYb9FHBJJso7QK6u7ZkdvDnDgotzMGdN3CGi5ofS lczkz7utg/PktuAEqrJS3v9zEsGVAHqGchGDdwpi8sfQNWClW8O+zZISbCJavjGrrB7dk+lSl4T fXP8KPgJyXTYgtTJUhhwMh4DU4Am+eTV2Ur/coMtijGPbMw== X-Received: by 2002:ac2:4d22:: with SMTP id h2mr24000839lfk.429.1632747054379; Mon, 27 Sep 2021 05:50:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyk4pwmdGw/4Ofbnvsd28i4hCYWPZtzP5PsR1gIz62OdaiPMEFoxgoIwLu67WJig5byBmk5g== X-Received: by 2002:ac2:4d22:: with SMTP id h2mr24000825lfk.429.1632747054225; Mon, 27 Sep 2021 05:50:54 -0700 (PDT) Received: from localhost.localdomain (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v28sm1592102lfi.22.2021.09.27.05.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 05:50:53 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , Conor Dooley , Masahiro Yamada , Piotr Sroka , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH v4 5/6] riscv: dts: microchip: drop unused pinctrl-names Date: Mon, 27 Sep 2021 14:50:43 +0200 Message-Id: <20210927125044.20046-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> References: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_055058_784932_129094BE X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org pinctrl-names without pinctrl-0 does not have any sense: arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dt.yaml: sdhc@20008000: 'pinctrl-0' is a dependency of 'pinctrl-names' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven --- Changes since v2: 1. Drop some patch garbage from rebase, pointed by Geert. Changes since v1: 1. Add review. --- arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi index b15e93d1702b..63984e53c0b3 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi @@ -268,7 +268,6 @@ mmc: mmc@20008000 { reg = <0x0 0x20008000 0x0 0x1000>; interrupt-parent = <&plic>; interrupts = <88 89>; - pinctrl-names = "default"; clocks = <&clkcfg 6>; max-frequency = <200000000>; status = "disabled"; From patchwork Mon Sep 27 12:50:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12519835 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B05D8C433FE for ; Mon, 27 Sep 2021 12:51:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7DA6B60FF2 for ; Mon, 27 Sep 2021 12:51:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7DA6B60FF2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SDGXAqleuEFY55pVghJfF+WfZppsPz4hrNOZcUq02NY=; b=eemJ3KXL5lpu/E GG4skpN1W8PEV8qoulDHPs3CKDEqj+qXC5D5jT7kd9KLVo6Nn3Ki8h9s8uQMUNBgs/1kEl2b24MFc jrZT5ESzqg8GYhd0nPtwzwEUVnkLa/wNX9Nl23lD9tLXnjA+mLIBctiKfZ/WO3xONVNkm1RLnOC4i QcLfjhKbVIPfxiTbNGmPFf0QYh77aT8nVQcS0xsdnyVDESs1n1YzknUPMVSb6j4alQCHwD/Lnlflq 5ESKVG0N5JovhEx/gV9+gA3bz52SiZTCcnn701EjTX9J3t32Fq5eRUuCjOKaYakL7HOwl5ATiAclJ vEMKCGVwS4dTyB7qX03g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq65-002gZb-D6; Mon, 27 Sep 2021 12:51:05 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUq5y-002gUn-Gc for linux-riscv@lists.infradead.org; Mon, 27 Sep 2021 12:51:01 +0000 Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) (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 40FCE4079D for ; Mon, 27 Sep 2021 12:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632747056; bh=HyJUjHjlK3mirIZ1mWbxEOM/yJgRijm4GthGtGsI3+o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sTaluSXJlk/YFnoSrKgHjFenPfTHMyatRl1VIaMgceJas6GzTFkJAty97NuE03G7b q6wkrHkUATYOs/awOSEWY/Q5rXuCY7exEplpcYBhtesvKgiUES25XJYtgiN5385f7F +8a10ACBxqR4vIhPJW/LCZHF1CMqPNo9a4Nfv4coPBGCTSkPUuan0w5PsltEP9uOBN /FQYkwzl7wEciAHfRd16PiPSw06CwLhKopZj7RbdnreF7MEdXqY3NwReEU/SiXGvbb 4RLRCaZa4Lb4eAgVIE82jgkYLIBMb/9Fj0+FRKjnWID5zoc4fA2w/h2KWlwa3AciUu gj7loYYpE3ZGw== Received: by mail-lf1-f72.google.com with SMTP id x4-20020a056512078400b003fc8e963f1dso12300716lfr.5 for ; Mon, 27 Sep 2021 05:50:56 -0700 (PDT) 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=HyJUjHjlK3mirIZ1mWbxEOM/yJgRijm4GthGtGsI3+o=; b=QlM0WZpaXL+v4WIvnaWQmEnoRoOMceCzfqBjlzW0pRc4UvhytxRwXeMqF8aXgJ3KHp jV1OwTG02nkCZfMHxejmns6Qg6TuTpBMjic5C4tq0sqJ3hb2mnt+6CHk21Y9sgGq0XQH r4jRXNoLJgjpdIxcjsYJPtf5458Op8tACS6g3qycvDrTMdcImqhg2V9xSh/a1iLVoaNk YE4Wv+FMO9duxUMnqL7qxHpLDZcPCb8wHf7rkFpYaXa3xi+LYBzgHWkXtk2gV08/WqUh GSNaZo3XZZDAJjH419oeaUp15fhpGEoamu0wAgoIpDdwMoCMVKGxzQ/DxwE+8YUkriGE /iPQ== X-Gm-Message-State: AOAM533/U20Tqe9u42HGGZvnwNsWvyXSu0Czgerqo4cE6Xq9MQ6PuoRv KTcWloPtOTLtxMQFpRtkuoa7DPzyp4lAed49TvGull8l7I9zjHKUw6CVYU/L4Ah/M0d5GArpUVX 10iVHcCs/g8u/AOtmAvRMhI6jOpCA0UxEwUuKXKwyFvOLyQ== X-Received: by 2002:a05:6512:150b:: with SMTP id bq11mr24378584lfb.495.1632747055583; Mon, 27 Sep 2021 05:50:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxub5gxPd0btgj0850I+iTNBnTY40Um3nPH4TVM4BxueRLq1HcvaTKOdlAvhZ1R1kGJjV++gQ== X-Received: by 2002:a05:6512:150b:: with SMTP id bq11mr24378555lfb.495.1632747055433; Mon, 27 Sep 2021 05:50:55 -0700 (PDT) Received: from localhost.localdomain (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v28sm1592102lfi.22.2021.09.27.05.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 05:50:55 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , Conor Dooley , Masahiro Yamada , Piotr Sroka , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH v4 6/6] riscv: dts: microchip: use vendor compatible for Cadence SD4HC Date: Mon, 27 Sep 2021 14:50:44 +0200 Message-Id: <20210927125044.20046-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> References: <20210927125044.20046-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_055058_802716_85FA2562 X-CRM114-Status: GOOD ( 13.26 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Licensed IP blocks should have their own vendor compatible. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley Reviewed-by: Geert Uytterhoeven --- Changes since v3: 1. Add tags. Changes since v1: 1. New patch. --- arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi index 63984e53c0b3..c9f6d205d2ba 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi @@ -264,7 +264,7 @@ serial3: serial@20104000 { /* Common node entry for emmc/sd */ mmc: mmc@20008000 { - compatible = "cdns,sd4hc"; + compatible = "microchip,mpfs-sd4hc", "cdns,sd4hc"; reg = <0x0 0x20008000 0x0 0x1000>; interrupt-parent = <&plic>; interrupts = <88 89>;