Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp232113rdd; Tue, 9 Jan 2024 02:18:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDSTQ5LspHxYmjRV+8kXLQuJZcnIeDJLaZIHqynRKUSmT+xDWFgNpqsC8Jm2aZZb01bCJq X-Received: by 2002:a05:6358:883:b0:175:9422:2dac with SMTP id m3-20020a056358088300b0017594222dacmr2361418rwj.54.1704795485794; Tue, 09 Jan 2024 02:18:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704795485; cv=none; d=google.com; s=arc-20160816; b=AVmDctinMwzMQNq9kP9teh9U3WrooninFNuGTOoK6FbRvo9X9fxHsniUBE9WnwLTMM N4shbLp5q7zgAxyxTWwdUtecRhn7hqrRzPlLRrMBIr2/i5pBxuyBZ5wXjV6VmR4xlH1M Hp/MO/NqpjpbvJex4aEmQ78dtB0WJFBU+Ys86cNl4QKvp3rUpjAMIb+ody6lfOAcYXU5 GsbBfZGUbaTx8IHxSw2TQxmLBHwGT+fgbI4OhpLq7RfjTEbP5lEVcTaz9RrtLgnoDmRA 1bSsYRrmL9FUs5pn0DHgZ2yV5DcnX+gzLnVZiuZa1Tf8dEkatXOUope+UCW50Sn02KSi SaNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TUx5YfOUHTwUc/o3z6EZn3jsreLu3xGXc2zzEZ5pNSk=; fh=wresimZqzGpmP9SzpqZHjAFjqLHJAqWA0bHkvgDJtUA=; b=F/D3bSerucpKPgLYaDI5Nt9qdG0R1HrdfHM8QjZteNlj2lPEtJc6Ck7fcuqEMyyve6 Vvd8jOOHpk/ntTUV9GralRrlvzss+LhoVsBL9p/W/z1pNWrM5v8nTASqOB7z0Cxw82j1 obMnPGDVvqlzb6OVhj8e/0uNkKd5iCLnJs8R4EvdnuTpS9ZWL9lVaPoU6V9FqSIhJkqE IB8iVRNskVSXjeXfxCHvmWaJKyuEcM2jwbpeywgNrq8alROy9w1wqGgWkG/yT7EuWOZo sXpErIlvWft0EdkPIZdYYx8EF3Z/qSynYo+iWHr0OncNxJ+VSebBgmeFIEH0SMCfExhu gM9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="nj/vhEfB"; spf=pass (google.com: domain of linux-kernel+bounces-20706-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a28-20020a056a0011dc00b006d95dd04d4fsi1236647pfu.185.2024.01.09.02.18.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 02:18:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20706-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="nj/vhEfB"; spf=pass (google.com: domain of linux-kernel+bounces-20706-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 48FE0B23BD3 for ; Tue, 9 Jan 2024 10:17:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4D3D360AD; Tue, 9 Jan 2024 10:17:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nj/vhEfB" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 58A4235EE4; Tue, 9 Jan 2024 10:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5537dd673e5so2348511a12.0; Tue, 09 Jan 2024 02:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704795452; x=1705400252; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TUx5YfOUHTwUc/o3z6EZn3jsreLu3xGXc2zzEZ5pNSk=; b=nj/vhEfBY1sfHAXr0vWcwvKyIX59dVixrbbdqC/qI/mOYSTuNMOQhkXRkRv5zqRHEc e33uw3tT6Yxzje7YWe3BN6ZGqMK6n4AdmcrRf7q/N+tYwUj1uSYhy0e3HGoYoaF7WIJh ydAZEjqKypXAGGT9QWN16ZZOBNO57lCV+LAzPR3esEUpBpMluUrMkyIAct17BQwviBUZ DLQmAUwC5lteMY7f1Obi7wvEnf9l/MHhiBFC432iEKG/0MMaac9fJ0llBlSebCplTdBT Wjh40xZ1SLukWJDktVm/1lcq+L59srJnh49UTF0MUdzODjr6FevNnUOkhpltdzjb9l7w M2lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704795452; x=1705400252; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TUx5YfOUHTwUc/o3z6EZn3jsreLu3xGXc2zzEZ5pNSk=; b=JF95Blydlex35+BCPZ2KaAdRMAJ+ERr/SDkG3+NZcetk3xKPvumH5XzbwfPv77Xg2E 38V4Tl05SLXMgt8+uAiRg9n8YWbkHByR4cACt+fr31jBiPMp2F+hwrauS5+z7/9t/joS C+L4Txtt/vxJDRDdR3N2arL2njFFrJ76oUaVwLvoPgol7YO4IyRvZXAzLwVXdCjim4Ad gzpKToeXcZ30rERKbRH8PRI54FO+f0/FP0TuTTrqndOlAXDNMobig2MBGJ4HASMJKyVE YkVYLaqyc567EApkreMTsh/CJ9YKAvCVa5kLMdu099mAmooV65nRpuuDzCsMfm52p2T2 QNrA== X-Gm-Message-State: AOJu0YwpTHz3p7Btzwt9Lk0S0FFUGuOOggL0kOmjZ6lH/RA5aqV0aby+ KbPMMmlQQghUMGNPGQIHvts= X-Received: by 2002:a50:d59a:0:b0:554:5ab4:85a0 with SMTP id v26-20020a50d59a000000b005545ab485a0mr3216311edi.81.1704795452141; Tue, 09 Jan 2024 02:17:32 -0800 (PST) Received: from [192.168.3.32] (dh207-96-108.xnet.hr. [88.207.96.108]) by smtp.gmail.com with ESMTPSA id n20-20020aa7db54000000b00557aa373d71sm781677edt.45.2024.01.09.02.17.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 02:17:31 -0800 (PST) Message-ID: Date: Tue, 9 Jan 2024 11:17:30 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] arm64: dts: qcom: ipq6018: enable sdhci node To: Chukun Pan , Bjorn Andersson Cc: Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , Rob Herring , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240107122822.21667-1-amadeus@jmu.edu.cn> Content-Language: en-US From: Robert Marko In-Reply-To: <20240107122822.21667-1-amadeus@jmu.edu.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 07. 01. 2024. 13:28, Chukun Pan wrote: > Enable mmc device found on ipq6018 devices. > This node supports both eMMC and SD cards. > > Tested with: > eMMC (HS200) > SD Card (SDR50/SDR104) > > Signed-off-by: Chukun Pan L2 LDO should be used as VQMMC supply, otherwise you cannot change between 3 and 1.8V. Regards, Robert > --- > arch/arm64/boot/dts/qcom/ipq6018.dtsi | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > index 5e1277fea725..39fb38914a1e 100644 > --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > @@ -436,6 +436,28 @@ dwc_1: usb@7000000 { > }; > }; > > + sdhc: mmc@7804000 { > + compatible = "qcom,ipq6018-sdhci", "qcom,sdhci-msm-v5"; > + reg = <0x0 0x7804000 0x0 0x1000>, > + <0x0 0x7805000 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>; > + mmc-ddr-1_8v; > + mmc-hs200-1_8v; > + > + status = "disabled"; > + }; > + > blsp_dma: dma-controller@7884000 { > compatible = "qcom,bam-v1.7.0"; > reg = <0x0 0x07884000 0x0 0x2b000>;