Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp119846lqi; Wed, 6 Mar 2024 11:44:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXnbPVaIW9aiQsrrroya7hhv5yXaX9T+QVhrsQ0KAHLJZB/+iLblp8rM3f6IrXSeHhOSblQsEDpQZns4MDMYcfWiuyocD8XeJXJltDNAg== X-Google-Smtp-Source: AGHT+IHDPR/nIL0b8365ltRkWpdA18lZx4wnR4Zw+njK48Y44Xz9oOVIuqE4NP+3UoLOsOUgrt0x X-Received: by 2002:a17:906:f217:b0:a44:992a:fb3c with SMTP id gt23-20020a170906f21700b00a44992afb3cmr6643032ejb.17.1709754272374; Wed, 06 Mar 2024 11:44:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709754272; cv=pass; d=google.com; s=arc-20160816; b=APiLjuzciDn3L+LLsdM1L7PrPfT3N7sjloqLof3lGTYUclOUBqLEEgJwRbIA3ztXyf sYvxt2XKm93LJAC/K7KdH95TSfJX/E8uzAPRld8n4G5DgrJl6akluZIq762i/cMJJ9ER Xtx3fGkysbwFO9GicNUf9dQDRrCplA5Xq8zpDXZKupvzLsftX7OEMk1WW1fw/bxFBYD/ Ssy5p/2dHYQTGMYl0jyg9VYjIkSz35lNZYgvi6zSPcjtzGY1ubKCezUGwPHHSWmR0aKO nem8QXQX3Mf8JIDoqvFD1JRfu+FfR4YnqkvbEmsWb5cCbdCZQ89RIEhalVZj9gaDSvNv 5o4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=mJrG65AeFbyOONi7SjWLiuAQnFw+0U6EBjiSUZknhFc=; fh=DmhZ55uyJkXvEI2hsO01FPC4zQOmyYQEDzZ2QMdvGro=; b=CmnZRYmp4t2nny2AqlfO8VnzTC2ej2iojUEEO1G8eW9XifFwE/odjU2zXL1TG0E7kg z3teYUDhsjYEUG6mG3EH8SoMf4R3dUw73XanVegjVdXOPUUbo0CVAEhaWguTlZc2ricz YxbiW0/VK2Y5GJkKdlOPp35LNJEGtRmi7T6o/GDEesaV+RcxbkwWntj6ICpMwr0JGdZC QjqFY1aX3Pr+nt9CIdeLGKjw5p7bTVO/cw0TfbxviHQMWYn+djHwYQjlYr5scTIXkFZ0 Hq3qwL3UO+cE36vm3Qra3Ry1vOR/OFgq26JF+0fVwtyLa/MrqE5LzdntxJJlT2sNfmNu zOqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aVjqSzD5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-94499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id go40-20020a1709070da800b00a44bb2ecb59si4947651ejc.143.2024.03.06.11.44.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:44:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aVjqSzD5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-94499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1F13B1F22F9E for ; Wed, 6 Mar 2024 19:44:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69AA01420D7; Wed, 6 Mar 2024 19:44:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aVjqSzD5" Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0A4D140E2B for ; Wed, 6 Mar 2024 19:44:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754248; cv=none; b=LEDJXkwJyeHItYTGaC8eQmh2wdILY/MM18GS9VDG4snqEm+ZgqYMEuhDh91HDH6yg3121SDHnJlspZN0/f+54VPv6hDKJf4d6HoCtRE6Ftuus6V/08e2r6oDssRjFVb2ofAlvVPDZDMlgGlrEPU2y/UyAvzuxahG92hF7FJB+Bw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754248; c=relaxed/simple; bh=U+62DFfvTUd9cVF7bW1OVpX/9biRZ2d6eaC3T0WRuuE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=CybE6V4UA7ldGYnxa2DSwaNfaOkzDiQC+3c5BABQ8L2RE34EOFMAzLVkQogB1UuVa9vmtztgxMJ/BJiPdsJwNk5kfO9jg5YJTCJ/faNTEzT/jVvIY5QPOueYwjXEM91S7Dh9DPFoUMuOjonrktqi5z/7zPSKyK8su517aq3hiFw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aVjqSzD5; arc=none smtp.client-ip=209.85.219.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-dc6cbe1ac75so113012276.1 for ; Wed, 06 Mar 2024 11:44:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709754246; x=1710359046; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mJrG65AeFbyOONi7SjWLiuAQnFw+0U6EBjiSUZknhFc=; b=aVjqSzD55hjFDWc00bne2HbCTabOgQrKY2se06qTLHS4FcBShacJ2F5zeyw9904EGb 5+4nUhCkBGcliBxUlUT6Yt2+wBaYNmGeOPOx2X3HM80SJ41H/5p13SixuQ52HhMr8xYd TArJS7MVvnuJHtmsWioSS3LpInDOBw832YOzMSNXtIQSvKxIJAJtRmf53FrpsfeTQV4t 20n0ciNf02aJx2upgEO2Gf3rDTA70oyJgfPMgmCNsW7M1rg2bOdi9T/a2U7rW4zHxI/d CRjFhWCThofDL0uxnPDfuItXnkJwQGTCcnC9KV+k29B+D6Fes5oaryvc+i01OKPaeSjQ uLWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709754246; x=1710359046; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mJrG65AeFbyOONi7SjWLiuAQnFw+0U6EBjiSUZknhFc=; b=NoGgXikL1j+8nGe1ssQN8puebzOtQtq/b+ioI+WdfBWWIwS0kLCg2M5IqM/gIjG6Er 3m4Fs+DsAVj+5gjqiwi+LdevZTYkeEmDlaS3SlrsWOlZElWA23LprMTUTxRqYafPzmyC wNT1KCx2CAUacuM7ylKw8rrwC7m38BP0OP8K3F5NcnDs+wZZPxVG3GQzAbXab8vSUNZe 6C7Nf/cSjQcudsUAVg7ntWFj7VowRLC+18eESjBUt+iBvQi8Hl3ZxqmJ5YOaH9agbESX PKTdul/NoEF2rCKLeu711ys1ZDtIHOxT9yp4gCRF8NAFj9I/fPuuk8Vsu6Qps/lC2Tn6 uNtg== X-Forwarded-Encrypted: i=1; AJvYcCVVfzhX7LT3zXlz9Mv9EfELzm3ltsdf0DDILEeHYtd44lRZ14KDbPsmDoPf821W2wj89kgLeQg3mm0YH7v0r8oic+bF3Xg0ZuCKDJOa X-Gm-Message-State: AOJu0YwTvUYc8LnvMRLe8etzOVv9tlLoi3tskzqldgs5vr/krOQH03ke XRarI7ODMCCtJvXRG4gJbhuvpKTm9GcAUTXmR7mpQW2UDnv+fxBKk5kC5nS/vRxfFA8XSYkZHSG pM/Cu9cbFUeii6551hsIlmk6b6TU3PvoMTOsq/g== X-Received: by 2002:a25:ed01:0:b0:dc6:de93:7929 with SMTP id k1-20020a25ed01000000b00dc6de937929mr4891662ybh.26.1709754245936; Wed, 06 Mar 2024 11:44:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240306123006.724934-1-amadeus@jmu.edu.cn> <20240306123006.724934-2-amadeus@jmu.edu.cn> In-Reply-To: <20240306123006.724934-2-amadeus@jmu.edu.cn> From: Dmitry Baryshkov Date: Wed, 6 Mar 2024 21:43:54 +0200 Message-ID: Subject: Re: [PATCH v5 1/1] arm64: dts: qcom: ipq6018: add sdhci node To: Chukun Pan Cc: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , Rob Herring , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 6 Mar 2024 at 14:31, Chukun Pan wrote: > > Add node to support mmc controller inside of IPQ6018. > This controller supports both eMMC and SD cards. > > Tested with: > eMMC (HS200) > SD Card (SDR50/SDR104) > > Signed-off-by: Chukun Pan > --- > arch/arm64/boot/dts/qcom/ipq6018.dtsi | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > index 322eced0b876..420c192bccd9 100644 > --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > @@ -441,6 +441,25 @@ dwc_1: usb@7000000 { > }; > }; > > + sdhc: mmc@7804000 { > + compatible = "qcom,ipq6018-sdhci", "qcom,sdhci-msm-v5"; > + reg = <0x0 0x07804000 0x0 0x1000>, > + <0x0 0x07805000 0x0 0x1000>; > + reg-names = "hc", "cqhci"; > + > + interrupts = , > + ; > + interrupt-names = "hc_irq", "pwr_irq"; > + > + clocks = <&gcc GCC_SDCC1_AHB_CLK>, > + <&gcc GCC_SDCC1_APPS_CLK>, > + <&xo>; > + clock-names = "iface", "core", "xo"; > + resets = <&gcc GCC_SDCC1_BCR>; > + max-frequency = <192000000>; If I understand correctly, GCC_SDCC1_APPS_CLK support frequencies up to 384 MHz, but here you are limiting it to 192 MHz. Why is it so? > + status = "disabled"; > + }; > + > blsp_dma: dma-controller@7884000 { > compatible = "qcom,bam-v1.7.0"; > reg = <0x0 0x07884000 0x0 0x2b000>; > -- > 2.25.1 > > -- With best wishes Dmitry