Message ID | 20221023091200.70336-1-linux@fw-web.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1537259wrr; Sun, 23 Oct 2022 02:13:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Wvlcd6iKFFA75eqn6FJtaJHK+g6kBHIs+IygyCK4PCUYgspdN+d+I1ir7cRJkgiUA8wOS X-Received: by 2002:a17:90b:4c0d:b0:20d:43db:cc14 with SMTP id na13-20020a17090b4c0d00b0020d43dbcc14mr32636013pjb.119.1666516432725; Sun, 23 Oct 2022 02:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666516432; cv=none; d=google.com; s=arc-20160816; b=EZipjnCxeeZcrz0Ud3nGIntqaqf606WP4F4nh7kQlYvNnrokphN0nbayEKTjqCN85+ 2/Yy17Hvjw4YFVwL3QLMzp1wz3u1G+e2ZA5Z9c0tUgRM6xDDH2bs0sEoy74xBj/bUbSa RSRIMOilFCaPJ565/E5Gh5P9lyEGzJPpVKtTn11ENl8qqKFBnTocGsfz/TnNURlMZyL2 yzE0ADKxp+unt2xNFftE+mMM+c3uO983hY4PP7gF1DrmGksji3PNsE62pnLScdAtVUC9 xVwypxdgq3VapOncQkitPc758dd9vT4aXqwo65Cbo2ji/alD89Q0jpOtKRALvwN42IOw 55tA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=j9mrW/hduerytVdojlo3APh7PbXTuuPGsPr25UCn24I=; b=DbWE5gtXwgZV7VlrjtZYArF490WCpXT4hrJ6aXEuf4U6CM0/VQUUsM8xRB3iyOhb1b EIeadyYCz+ezjaTOTdcHH+gqxhzI/Qc2WX5TMYVFtGe2HhjLMkohsILwFwQXbCv2UvNj MQfN9HgMzxxvdf5LgKl+Fi05nqTdXlHSNsxtDbUenaW/TQ/GwVt+m1GyZHTETTIsWMr1 Q7+G6iuwtAqYwJ4RSWTG1Xgr6Tr0trlKdTMQ5i1Imznm+kEW4keVrmGdesznfJh2236k YDSYWjFvkWIPfud06UGL4R6h4AJWcrUOL9hqvqlafeJXDoJ3AQjC2jDdYRHtNnEt8cCn 1XPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=Keb7iGMH; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a170902f70700b00172f32450b7si30319682plo.197.2022.10.23.02.13.39; Sun, 23 Oct 2022 02:13:52 -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=@mailerdienst.de header.s=20200217 header.b=Keb7iGMH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229960AbiJWJNL (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Sun, 23 Oct 2022 05:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiJWJNK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 23 Oct 2022 05:13:10 -0400 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9887572B67; Sun, 23 Oct 2022 02:13:08 -0700 (PDT) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout3.routing.net (Postfix) with ESMTP id A9CF7605C2; Sun, 23 Oct 2022 09:13:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1666516386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=j9mrW/hduerytVdojlo3APh7PbXTuuPGsPr25UCn24I=; b=Keb7iGMH/aeRYLoC+uTB9qoQ7/5GSPV97T1UtGq2xoB36cZ8SZNn9gf1K+Qj9z7JnHUpEH IDtrfcqHBAtK9i8zYuvFNaI+VyIYL6bcvuqmKQ/R4dqvYn6bktDzmvHG9O55tOtdSHGtlE P5BxBOeXcaijJV29D61T4c1yIPosVyA= Received: from frank-G5.. (fttx-pool-80.245.79.234.bambit.de [80.245.79.234]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id 95C1C360629; Sun, 23 Oct 2022 09:12:37 +0000 (UTC) From: Frank Wunderlich <linux@fw-web.de> To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich <frank-w@public-files.de>, Chaotian Jing <chaotian.jing@mediatek.com>, Ulf Hansson <ulf.hansson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, Wenbin Mei <wenbin.mei@mediatek.com>, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/7] Add mmc-support for mt7986 Date: Sun, 23 Oct 2022 11:11:53 +0200 Message-Id: <20221023091200.70336-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mail-ID: b17f74b6-f594-4b7f-a568-6d664155791f X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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?1747469135125231940?= X-GMAIL-MSGID: =?utf-8?q?1747469135125231940?= |
Series |
Add mmc-support for mt7986
|
|
Message
Frank Wunderlich
Oct. 23, 2022, 9:11 a.m. UTC
From: Frank Wunderlich <frank-w@public-files.de>
I've noticed the mtk-sd binding needs a bit more work get into a more
clean state.
There are 2 properties missing that maybe need to be added later or
dropped from devicetrees:
drv-type (which is used in mt8183-kukui.dtsi and set to <2>)
and
r_smpl (used in mt7622-rfb1.dts and mt7622-bananapi-bpi-r64.dts, both
times set to <1>)
i don't know their function and boundaries and i do not find them in
driver. I guess they are added by accident, so i removing them in the
patches 5+6.
v2:
- add compatible based binding
v3:
- solve "not" statement in binding and reorder if statements,drop mt8183
- added patches removing invalid properties (not in driver)
Frank Wunderlich (4):
dt-bindings: mmc: mtk-sd: add mt7986
arm64: dts: mediatek: mt2712e: swap last 2 clocks to match binding
arm64: dts: mt8183: drop drv-type from mmc-node
arm64: dts: mt7622: drop r_smpl property from mmc node
NĂcolas F. R. A. Prado (1):
dt-bindings: mmc: mtk-sd: Set clocks based on compatible
Sam Shih (2):
dt-bindings: mmc: Add compatible for Mediatek MT7986
mmc: mediatek: add support for MT7986 SoC
.../devicetree/bindings/mmc/mtk-sd.yaml | 137 ++++++++++++++----
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 6 +-
.../dts/mediatek/mt7622-bananapi-bpi-r64.dts | 1 -
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 1 -
.../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 1 -
drivers/mmc/host/mtk-sd.c | 14 ++
6 files changed, 124 insertions(+), 36 deletions(-)