Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4002161rwi; Sat, 22 Oct 2022 03:39:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6VK2P5UbU9SKybWc668GEWw/TMSqbvETrGJOXoDQJUvyNmNHnuHpuL7KI/6bN7zgLy+fKh X-Received: by 2002:a05:6402:40d4:b0:45d:1351:3f9d with SMTP id z20-20020a05640240d400b0045d13513f9dmr21515146edb.199.1666435182727; Sat, 22 Oct 2022 03:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666435182; cv=none; d=google.com; s=arc-20160816; b=FgrRyMAJXeekT5UsoPBXdR1mPeMdrUDQWt091VgoUAt/QmMBRHfXahWrtqL+2yczZ7 KaptCdNb0i62Pbk/4FQ7BjOu/vDNzcVTOi07+jMST0vFleL6AZc2AweYtKnU4jjeQrzS S6WnIlpJEJOEhTuVLoiXPRykAvpArntqxyAKV+OjqVx7MJboUpDxsttzGm2GH9FecFVu 3ELGOov38Os+0UOGFeZ3iuN0kiHLZkOMSQDwtRy9vHuo29j0MeyhYtEanbMEDEmB6O31 K9JuE3ONB4ulcnl/moZgIspKsw2MhByDcelbnoNncNIrJFqcJbSmst2MyNWnQi4PjeKb YWRw== 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=5u/+U3WMoQOALWqYdkq+g/H0rCbuuXYSAnM9TAS61+s=; b=pR8NQGO7TZykaSnpNtU31eonANz3VRHk4/5f0392LA5ys0etvVMh3MEexQYMRqpOqz QDilm6X9c0uBnQ/gDSF5BYAv1651CZ2XJfK1AAMk7Wv8qTmUn8ZzoqtYZfjWvxsjtoHS D+cH2EbrdCP0lcLX18FSMy+j4YBudm/IyOhfesmuMyxbPg7iFCkCEAqbhP6ePKp5OsdA YM41FgLnKEWnR2N9kXWnezE+YBhT7MdmmcSqWBegG3WAnSOLdbKCLvZWbRoImKROp7xN LwQDd3JRcvPuX2nrYnXzZIwHtX1mBf0Voo2m9Jo+X+8IkZ/1Cq/R+kzt84ouJ0L3SivX fH1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=DUsU397I; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h17-20020a05640250d100b0045ca3839229si10514152edb.274.2022.10.22.03.39.00; Sat, 22 Oct 2022 03:39:42 -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=DUsU397I; 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 S230258AbiJVKOm (ORCPT + 99 others); Sat, 22 Oct 2022 06:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230335AbiJVKOF (ORCPT ); Sat, 22 Oct 2022 06:14:05 -0400 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46363317B3C; Sat, 22 Oct 2022 02:31:37 -0700 (PDT) Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout3.routing.net (Postfix) with ESMTP id D818E605AA; Sat, 22 Oct 2022 09:05:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1666429537; 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=5u/+U3WMoQOALWqYdkq+g/H0rCbuuXYSAnM9TAS61+s=; b=DUsU397IVw2enhP8d7YRHxAuzAHL12nlD+bX3frXXHde7f1AVIA2yoMKBemaRsIuXw8F+M Mz28YQ1804U+l6zrfnxUzrLLjNaFznEa38wjwVdiRyWXw6Gzl024h7H7m9QVT6IeD1B8nc 8M8aCAf2UqInZ9RztMHRIHmdkRJXmcw= Received: from frank-G5.. (fttx-pool-80.245.73.148.bambit.de [80.245.73.148]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id DD7F5405AF; Sat, 22 Oct 2022 09:05:35 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Chaotian Jing , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Wenbin Mei , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] Add mmc-support for mt7986 Date: Sat, 22 Oct 2022 11:05:25 +0200 Message-Id: <20221022090530.16265-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: 3d4a4418-e83c-4c0f-bb27-e18e2915e9b8 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Wunderlich 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, but before removing them i want to fix the other problems. Frank Wunderlich (2): arm64: dts: mediatek: mt2712e: swap last 2 clocks to match binding dt-bindings: mmc: mtk-sd: add mt7986 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 | 140 ++++++++++++++---- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 6 +- drivers/mmc/host/mtk-sd.c | 14 ++ 3 files changed, 127 insertions(+), 33 deletions(-) -- 2.34.1