Message ID | 20230619115120.64474-2-yann.gautier@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2970297vqr; Mon, 19 Jun 2023 05:23:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6V7vWGXsK0V4wBjnr4lbZsgd8t6aHmh0sljBaEADOjEHxInZBt6YQQ8Y1dMTTdgujmvxvW X-Received: by 2002:a17:90a:fe0d:b0:256:4217:b955 with SMTP id ck13-20020a17090afe0d00b002564217b955mr8996760pjb.35.1687177383400; Mon, 19 Jun 2023 05:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687177383; cv=none; d=google.com; s=arc-20160816; b=u+KsGoPFM6ejFHZogzA3VJmjo4BmMGD4aV+g1MTgP8/A3QEBDByPuyJGNcZO7ObyMP 9MfSSZg+Pu/rKvrCjhg1CjBE0H1Gie16Z6N67UjnWgAnScociQmF5tAM+DYwVsPgX2yV HJyLVQWoO2VBxIKYsFlgYTJ4s7gWzyqVykFs6/kzXEUjt/5X6sZLOEfNxnB0+gLFIzdo 2IQUkJrEZ+zTNwal9gMWzPscvBSdDZuTBxEcDbBXEcVXCdQ3PHlM6MpkBXDd+t/XzRSw 9Rst3txTuuvHq1RDDFuIw+QCrHBwIAHEcNq3qNY3QqhyO8+StgHC6T5Y0ch9AqARmhrp 4zfg== 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=Zg7+vsy6uVMMMttExr1UyrGtSbJa9wdNY7n7qAIFW80=; b=c8owmEIYGH5laimYirWcVPfdXKbyCWVUAMw2LymobUKP0KLC/7oXQRNC3WeD+7YOY9 KEBlvm2ZOi/qiplKjmiV8bv2YINPyC1yG9YNQlGAfuWc47SqElAU59oIv/wRq6XJNQ26 Cy4f6d8noHBXxykjqtn3zburKQI29cHNt3xp12rkI6pyAKLxH6x6Rr0F+arDsjaWo6/x Okd1bez1Mzi1w0JVg3K6ApWRG4I2EMKr7zhpOs0wtEEe1ST8iAJgy4LxAYBs+npbjSIc gjo7hpXeR70gBnFSvd54kZZeD08BU4YLGN4RP5rOeeZW2RVGp6nHSsz35CRlBviBbMfx 2D+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Y3vjtCZv; 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=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v202-20020a6361d3000000b0054fd77fe97asi10811700pgb.267.2023.06.19.05.22.49; Mon, 19 Jun 2023 05:23:03 -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=@foss.st.com header.s=selector1 header.b=Y3vjtCZv; 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=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbjFSLwF (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Mon, 19 Jun 2023 07:52:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjFSLwE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Jun 2023 07:52:04 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EBD5106; Mon, 19 Jun 2023 04:52:03 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35JAiV1h017510; Mon, 19 Jun 2023 13:51:43 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=Zg7+vsy6uVMMMttExr1UyrGtSbJa9wdNY7n7qAIFW80=; b=Y3vjtCZvipWojlyeUOi/8oyRNjCYndyhWz8jcIsd//587N3PnUuWfkd4gCWkRXEFgCjy 5oS8rAeNThFTreyrqwDoHqYDEN9ZxgY/NXc8EseRF2XGQCjfIS8jaglg4PwJUfHQJ5sZ WoT8GYlcwvb0WnYiD0HlZBwUvDOAGxWHsil7Mfd5P0ZTJCIhq4UgSp7FJ7h0GRH9GrXx uk/day86G3lOSaHjNVabwxbgNTEOOQNrXJx1NnR4rEExVqJuQPFEN8uv3tZ1jG8PtkDR ZzmDiB6khRYNiq4V9cQA9koldPo8w2jOVMegH+ot3MBDWDCa974fhQTd4f60ZFlurkqY Kg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3rah6bt9kx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Jun 2023 13:51:43 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1D90010002A; Mon, 19 Jun 2023 13:51:43 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1252E228A33; Mon, 19 Jun 2023 13:51:43 +0200 (CEST) Received: from localhost (10.201.21.210) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 19 Jun 2023 13:51:40 +0200 From: Yann Gautier <yann.gautier@foss.st.com> To: Ulf Hansson <ulf.hansson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, <linux-mmc@vger.kernel.org>, <devicetree@vger.kernel.org> CC: Conor Dooley <conor+dt@kernel.org>, Russell King <linux@armlinux.org.uk>, Philipp Zabel <p.zabel@pengutronix.de>, Christophe Kerello <christophe.kerello@foss.st.com>, <linux-kernel@vger.kernel.org>, Marek Vasut <marex@denx.de>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Linus Walleij <linus.walleij@linaro.org>, Yang Yingliang <yangyingliang@huawei.com>, Xiang wangx <wangxiang@cdjrlc.com>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, Yann Gautier <yann.gautier@foss.st.com> Subject: [PATCH v2 1/6] dt-bindings: mmc: mmci: Add st,stm32mp25-sdmmc2 compatible Date: Mon, 19 Jun 2023 13:51:15 +0200 Message-ID: <20230619115120.64474-2-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230619115120.64474-1-yann.gautier@foss.st.com> References: <20230619115120.64474-1-yann.gautier@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.201.21.210] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-19_08,2023-06-16_01,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769133711827717345?= X-GMAIL-MSGID: =?utf-8?q?1769133711827717345?= |
Series |
Update MMCI driver for STM32MP25
|
|
Commit Message
Yann Gautier
June 19, 2023, 11:51 a.m. UTC
For STM32MP25, we'll need to distinguish how is managed the delay block.
This is done through a new comptible dedicated for this SoC, as the
delay block registers are located in SYSCFG peripheral.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
---
Changes in v2:
- update dt-bindings file (remove bootloader reference and use enum)
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Comments
On 19/06/2023 13:51, Yann Gautier wrote: > For STM32MP25, we'll need to distinguish how is managed the delay block. > This is done through a new comptible dedicated for this SoC, as the > delay block registers are located in SYSCFG peripheral. > > Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> > --- > Changes in v2: > - update dt-bindings file (remove bootloader reference and use enum) > > Documentation/devicetree/bindings/mmc/arm,pl18x.yaml | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml b/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml > index 1c96da04f0e53..2459a55ed540b 100644 > --- a/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml > +++ b/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml > @@ -53,10 +53,11 @@ properties: > items: > - const: arm,pl18x > - const: arm,primecell > - - description: Entry for STMicroelectronics variant of PL18x. > - This dedicated compatible is used by bootloaders. > + - description: Entries for STMicroelectronics variant of PL18x. > items: > - - const: st,stm32-sdmmc2 > + - enum: > + - st,stm32-sdmmc2 > + - st,stm32mp25-sdmmc2 It's nicely visible that old stm32 entry was family-generic, not device-specific, thus not really correct. :( I hope we can learn from this for future stm submissions. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml b/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml index 1c96da04f0e53..2459a55ed540b 100644 --- a/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml +++ b/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml @@ -53,10 +53,11 @@ properties: items: - const: arm,pl18x - const: arm,primecell - - description: Entry for STMicroelectronics variant of PL18x. - This dedicated compatible is used by bootloaders. + - description: Entries for STMicroelectronics variant of PL18x. items: - - const: st,stm32-sdmmc2 + - enum: + - st,stm32-sdmmc2 + - st,stm32mp25-sdmmc2 - const: arm,pl18x - const: arm,primecell