Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp357316rwi; Mon, 31 Oct 2022 02:15:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4nudMqU2oGGR4Mssrrcl52k8qDTJu/yr0MyLyJiVtCxQ8CbYPTzcWR9/dGf9gS6Db6at+V X-Received: by 2002:aa7:da03:0:b0:461:4fc2:3e0f with SMTP id r3-20020aa7da03000000b004614fc23e0fmr12412287eds.321.1667207703796; Mon, 31 Oct 2022 02:15:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667207703; cv=none; d=google.com; s=arc-20160816; b=HfZcSWJ2FQhFU9gyVomzFOVtzi46L7m8q+nOqR0RWSQdDfodWOfiqN2qJ1c+EhmxRb ODZkvj55LLIlhMptaFTqoJtXKLAWOcVyn0/3rmAAVCN2Wk0JB050TrQsj2e3Ytkji3a5 ijKJ0ND6eIPnVlWaSZfUI6iVh3kiu1aC8Jec6TABmfLSXc8nQdh6HUGLaTy0SUSoI5BH cvj3q3qmZsl70Q9oCHRK4JXoOX9Mv3T5Ifd39qo0JavoVuWNrXfeeveqfTDc8501CXmh 1ajr0j2lqbGiI4X+HQUAQ1nD8uphtP0rWdzqByc7RTMTQ6MoYpMajSqMYZiND6bqZnbk ++OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:cc:to:from:subject :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=07p05AvXxhhg9Ebj2EYm3CyzIzK358DNeUTZctR79PI=; b=c2ZUKXj5GG8uAIvtZDJ8eTNaVyJNGUJndTdshGe+qL9xGXOHrwq6HGuJ4fy2we+FXD uJNI8vFW4h1Vf/Q7HVQK2dqNpKUM4XRphVecRqiEHh89J2iNIiETvW2NNVHib5mye+KX vymvnMNx93RZYyuU5lxTepT3gaGsbGh2pH9el+8Cwhm6/20VBi+hf49LwERmzzj965X0 bF7ChsNlis2KxMln44t04NvrMRtH0DkxiUgP/DICKFLm0K6kFeIo3huh5mhjRwl75y/C Z/pweu1VBNT1DyzDKm6HEpygxFVO9SjRd8c1/Q8Gh4d6B2LN/ghvNj5hWq4VDdJkFYZi EmIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=GZQfWLfm; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020a05640212d100b004615bea1d62si6619861edx.472.2022.10.31.02.14.39; Mon, 31 Oct 2022 02:15: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=@fairphone.com header.s=fair header.b=GZQfWLfm; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230024AbiJaIzU (ORCPT + 99 others); Mon, 31 Oct 2022 04:55:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbiJaIzR (ORCPT ); Mon, 31 Oct 2022 04:55:17 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20A7FD91 for ; Mon, 31 Oct 2022 01:55:16 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id n12so27567922eja.11 for ; Mon, 31 Oct 2022 01:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=07p05AvXxhhg9Ebj2EYm3CyzIzK358DNeUTZctR79PI=; b=GZQfWLfmnuI5l9MZYGnSAYveWIFMxE58j8f5hvgoMp7eyitHBtHWTEb+uZ+QCz7+D1 ILQ/sB5+dYeaXHTh7U1MpS4agInDcsNNxKDXqNBhMAMVqf85Jgy6MMmIJvG52bbiCjbv PH0QEasMd1paHeqr/fkeziXfGflPhjGFgceyifgvZvHID29F1mypW/14MCuLRfr12/9b Sz5zXmuJu0ZS0d0uPHgdMrx+p/O5GJtXvtYatWNjBn8UM6BxBe3EJikeoa1Y72ueELZf rPWQz94f4GI2hM3DCJh7ko7IcmZU6PnxUiSLPfcvSJ597QgAGBAljb8dnx9hcIslfdet zTfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=07p05AvXxhhg9Ebj2EYm3CyzIzK358DNeUTZctR79PI=; b=7SACS3lmkgZqcVlCUyB4KNrUZ1vqX1a1nH4q7xxfuOBbkFc9/ymjJeBksEH4EtY8T1 r7l7o+Tu5qykqMYzDTOlecpYxe21bVgQaowVoWzXmp7apKUfnm23gWLyNk8kYSpSEkT7 2yx7usjRV6B2sZCvW+7L63vFROP1tAei96yv58gg+LwGEzNIirkhls4PQmgPm/R6P70Q Y7tzNukeNJGJtHGSufz8eludMonlboFuSxs5x4DUF4MOs97lUhia0tQ990swGk5vqG5c ViQHUJitw3/IKf8I4X2oTbu6AIw/bNKOFm58i7KjvTgzegKlOMzBBK10U/w5wd6CzU0d 94Cw== X-Gm-Message-State: ACrzQf23a5N4rnTY7qD8F61B0eQR6Ke6LYX/zFxtWTYVGi0Jh2odHMRI pv1DaVUVy4v2ofKN2e1omCwL6Q== X-Received: by 2002:a17:907:271b:b0:7ad:b748:63df with SMTP id w27-20020a170907271b00b007adb74863dfmr9258436ejk.639.1667206514690; Mon, 31 Oct 2022 01:55:14 -0700 (PDT) Received: from localhost (31-151-115-246.dynamic.upc.nl. [31.151.115.246]) by smtp.gmail.com with ESMTPSA id hw20-20020a170907a0d400b007aacfce2a91sm2713110ejc.27.2022.10.31.01.55.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Oct 2022 01:55:14 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 31 Oct 2022 09:55:13 +0100 Message-Id: Subject: Re: [PATCH 01/10] arm64: dts: qcom: sm6350: Add resets for SDHCI 1/2 From: "Luca Weiss" To: "Marijn Suijten" , Cc: <~postmarketos/upstreaming@lists.sr.ht>, "AngeloGioacchino Del Regno" , "Konrad Dybcio" , "Martin Botka" , "Jami Kettunen" , "Andy Gross" , "Bjorn Andersson" , "Rob Herring" , "Krzysztof Kozlowski" , "Luca Weiss" , , , X-Mailer: aerc 0.12.0 References: <20221030073232.22726-1-marijn.suijten@somainline.org> <20221030073232.22726-2-marijn.suijten@somainline.org> In-Reply-To: <20221030073232.22726-2-marijn.suijten@somainline.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Sun Oct 30, 2022 at 8:32 AM CET, Marijn Suijten wrote: > Make sure the SDHCI hardware is properly reset before interacting with > it, to protect against any possibly indeterminate state left by the > bootloader. > > Suggested-by: Konrad Dybcio > Signed-off-by: Marijn Suijten Reviewed-by: Luca Weiss Tested-by: Luca Weiss # sm7225-fairphone-fp4 Regards Luca > --- > arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/q= com/sm6350.dtsi > index c39de7d3ace0..a3ae765d9781 100644 > --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi > @@ -490,6 +490,7 @@ sdhc_1: mmc@7c4000 { > <&gcc GCC_SDCC1_APPS_CLK>, > <&rpmhcc RPMH_CXO_CLK>; > clock-names =3D "iface", "core", "xo"; > + resets =3D <&gcc GCC_SDCC1_BCR>; > qcom,dll-config =3D <0x000f642c>; > qcom,ddr-config =3D <0x80040868>; > power-domains =3D <&rpmhpd SM6350_CX>; > @@ -1068,6 +1069,7 @@ sdhc_2: mmc@8804000 { > <&gcc GCC_SDCC2_APPS_CLK>, > <&rpmhcc RPMH_CXO_CLK>; > clock-names =3D "iface", "core", "xo"; > + resets =3D <&gcc GCC_SDCC2_BCR>; > interconnects =3D <&aggre2_noc MASTER_SDCC_2 0 &clk_virt SLAVE_EBI_CH= 0 0>, > <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_SDCC_2 0>; > interconnect-names =3D "sdhc-ddr", "cpu-sdhc"; > --=20 > 2.38.1