From patchwork Sun Jun 25 19:11:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 11272 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7067058vqr; Sun, 25 Jun 2023 12:36:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7TuNtv0/MoR3VrQsLCxFFHwR9bsgufZiJlANUwRCu79ina/enhVE0gYfeoPGILR8cUMFvO X-Received: by 2002:a17:906:284d:b0:98d:63c5:d147 with SMTP id s13-20020a170906284d00b0098d63c5d147mr7514159ejc.47.1687721801186; Sun, 25 Jun 2023 12:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687721801; cv=none; d=google.com; s=arc-20160816; b=omavR8Cgm/5QB5qR5GpgM8P5IGCZxmyJ8i/NnLsSESXc4fW2se4Jl3MnYUyS9sJczS cu1ecJdX7DQx/93bFb9hKQEHyBzJ8aEkdjc8LxXDRajg9LyXnFOkWbglp8UF6UWBZmeI 0rwLNvf6tGbqtLTmpIBlu8gvTJ+FUx0iVSv2zISWyW5kVDNumwL9GElWKHlhwB+alecK xiNWEXnllPjfD6aa7H+meFNqao+TUn+bDaxhvLx+VwFyygrvyr03cUbdsXB9akjHBY+K 1jweaGLZf6MvldWFVEIwhWpEAqkFMBGuGZAxQ7SUbHPotVi1WhCeELhFLXjx+FReQPP3 YV1w== 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=95R2PdMvXWYk6kmQoK82DSLDIGUfDs+//q4F16BXYtM=; fh=p58pEyGs9ZVmc0iWCS1JcSbg7GM1EacYwgZCiW6CZHo=; b=uOOED6O+A+75BiLCdNfK+h554VmYBIx0AKnLfWvTQoX29LQBETOCZsRYN1TxpL6ANe 3eDdnIWg6EfJ5PHXZBNIb8za3p7W6CUJdZN6ZeNSMVd6xcOYSFn19OrtmcKkkEhqbXa6 2hrp2+6y3v3RhVkLK2BcoKP5S2QX7gRjdY1W/dYBiESLnluUyVg/pARBjTFuPP7FtXto mXTALW6iJLesCWGxEoMO2sFTl8I4bm9pwmP3ZOzSAU4k7b68fOcpkZOZlSj9+aM8d3Uy QK+tfcb8dcZ/r5lPEWExA3YJ9xMGI9zWBPODDYNX+is9xezS9YEfdbB+SV3huKgjd2NU kcLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=dRNGu2MA; 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 md12-20020a170906ae8c00b0098e04b04cc6si1597786ejb.14.2023.06.25.12.36.17; Sun, 25 Jun 2023 12:36:41 -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=dRNGu2MA; 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 S229947AbjFYTMJ (ORCPT + 99 others); Sun, 25 Jun 2023 15:12:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbjFYTMD (ORCPT ); Sun, 25 Jun 2023 15:12:03 -0400 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95015A7; Sun, 25 Jun 2023 12:11:59 -0700 (PDT) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout2.routing.net (Postfix) with ESMTP id C8EB6615E2; Sun, 25 Jun 2023 19:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1687720318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=95R2PdMvXWYk6kmQoK82DSLDIGUfDs+//q4F16BXYtM=; b=dRNGu2MARH/swPgMCibgu5UMnKgzQB2hcMe3QNYJAjX1OGwbItma/hXxL9SmSqRN7GWRDf iBa7F7cKJfXjVUttwbrYjSu27gBjztCngFje4E3W98caC2LYrB0lAUSLDkCryWHskntdM/ +06TjSARQoPzqBTP0GTsBFCXM44CBC4= Received: from frank-G5.. (fttx-pool-217.61.151.158.bambit.de [217.61.151.158]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id D7DCC3603F2; Sun, 25 Jun 2023 19:11:56 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Chaotian Jing , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Wenbin Mei , Sam Shih , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 0/2] Fix emmc hs400 mode on mt7986 Date: Sun, 25 Jun 2023 21:11:49 +0200 Message-Id: <20230625191151.7808-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: 1459b5f2-88f7-4804-8036-8a7bda31a940 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, 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769704575371451191?= X-GMAIL-MSGID: =?utf-8?q?1769704575371451191?= From: Frank Wunderlich Eric boots linux directly from ATF without using uboot. In this corner case clocks for emmc hs400 mode are not correctly setup. Fix this by adding assigned-clocks and assigned.clock-parents to mmc node. Eric Woudstra (1): arm64: dts: mt7986: fix emmc hs400 mode without uboot initialization Frank Wunderlich (1): dt-bindings: mmc: mtk-sd: update assigned-clocks/clock-parents for mt7986 Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 4 ++++ arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 4 ++++ 2 files changed, 8 insertions(+)