Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp146152lqi; Wed, 6 Mar 2024 12:35:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVcSAX4zpd2zhQNeh1DacMNbicE6LwYAzGgePc+F0ppO5pF126iGE2dvCNXVm0mRf6GRVGLuFEvzd8P7CSf3IzhxdEKbqYkTC9wcUu9jA== X-Google-Smtp-Source: AGHT+IHae9bw6OzmrDKiTgR15vhdv5erloJby5d5SvvYerrReovc6lRyRe4+CGJXYsiW00oK8R5h X-Received: by 2002:ad4:4b2b:0:b0:690:8ff3:4101 with SMTP id s11-20020ad44b2b000000b006908ff34101mr4406936qvw.13.1709757331512; Wed, 06 Mar 2024 12:35:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709757331; cv=pass; d=google.com; s=arc-20160816; b=hFYB1b4wDXDs2LnXS3NRAOfABZHRa4x9INSHd8VfTV2/+PFL5KCgnygWM4ubsHzzBb yrGd3D6m931AgIHV5n2oSDMOXKUm/X64YK0NUnyCvj6IP/bTDKkEnoJ+SSQxsDo/FdDD 76sRklqJz9rJej2JofubPTzLQiGrzS9VaFBWThj9hX2+5w/e4iZVkVDSroykPFWSCR46 hwcy79TQpypYKl7ejJ9ngkZfnzCn+Nq7/2SO/Ea2g9wDHadJTIGppB1+3YqKkN3mUiD3 q4gJ2xLXzmIHDscpMjH73IQ/fXFo9VFYct2s/6mRiYQOik9O9Toe9RsYYiwpNX+TsP9B i4PA== ARC-Message-Signature: i=2; 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=fmv5uFCir5+7gqntDVJqRRqIOCeHH0PvtHKmIdkEfg0=; fh=6hOq5A9rWFJYy1Z/ghQz3TGpj2vbi1/Py+urpAbiu0w=; b=ZzyNZY/x3FZ2scXkGIHS5FpcmoT5x1SugogxMichPWT+UFnAihEvfZLm+cpqD90he/ 6YpeOTolIr9Ro8aSLsHNqDdbccC0TLYbCPvCS6MdHb85XRdMTMD8DFE7cOeOP/RYxIeA /ZkVTsGAqOztDal39u0r0bsstsavJSGHnZR6ypVGc1fjDqZboVbq7EcOvyh5l+TsqXed SC7u6IfDbgQwfi7hQfoUnx+oDlJRy1/A3J3bv8ol2pwKN07WtlGruhZXjC/xfimKk9dU fjxBoMcMrn9IQtksbOX8tmyJeSGBzpzsy9oNsL/aEHooRU1u+OMLvV/eV5zkEP1LtIAV iiLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A8KXzs44; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-94560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p9-20020ad45f49000000b0068d1501ebb9si15212567qvg.458.2024.03.06.12.35.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 12:35:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A8KXzs44; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-94560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94560-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 31CEB1C23AD0 for ; Wed, 6 Mar 2024 20:35:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 450761400B; Wed, 6 Mar 2024 20:35:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A8KXzs44" 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 B37B779C4; Wed, 6 Mar 2024 20:35:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709757324; cv=none; b=kCr7HmPxwKnUE+26dG00qyZB/x6WSqH9Z06c6ndU+kINW/9WSLYKaPIr+a3xziwaqD+2PMoy7bgFpcWHspJkBMt2Mv7O23bt+OmsXFa9q8f7CFR0La4iGAeXbstsFpqdjz3vW4vq7WpBFgSR4w4AUIv+G3AZOQtYsx3DrzQUEbw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709757324; c=relaxed/simple; bh=86gHzZzy3H6KCUOxByUGfAgnamLF0drA8Bx0TvaZVdY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fVJKXZvAhFnKRmuSP2+SovK+GPNwxSRwzIUUXyCUEwRkotxkq0gZjgbWv1zeGtD1m/KZdpZfp45R5CwsbkpzBY2ztG+vmBwqplnqWM75H7uEwoaftL1QxbgK9WetQ1I7q8eeJwr8990f1c8Ygi+Il6YmKu6hJJbiWwgxlvwho3A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A8KXzs44; arc=none smtp.client-ip=209.85.208.46 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-56759dc7ea6so177429a12.1; Wed, 06 Mar 2024 12:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709757321; x=1710362121; 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=fmv5uFCir5+7gqntDVJqRRqIOCeHH0PvtHKmIdkEfg0=; b=A8KXzs44L/gJyR+SwEkqMk4h42pIckopGqeSTUX+A1AMtqEKeigoICcIvMKjbd6UJ3 uoUur4a1KvTJ0qUH1+dfnrztjYQgi/ueVZYpT0Iw1rnaerZjw7uS3LIsv28jaqCXU17J vNF0lU95WGwYL7crU09aYkbt2DwNz1Mr1pwlSw10Yr5x4nfnf6afKuNHTZ1FbjE1gYZM t83xyholvovw9SB6ZQZLnkzLKBpJ2bsGq2Plkl4wiUFmKEef3UeNdzp0LArc8KFQezdc /iBSIguxGFAl69gREkz86zFvrwOjRgeelGrSAUkRXUfkYTzcme3/FeKe0W6xhI8YEou6 POiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709757321; x=1710362121; 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=fmv5uFCir5+7gqntDVJqRRqIOCeHH0PvtHKmIdkEfg0=; b=hEDwntBrOoVSOpuBZPkSI/9R0DO/0V5kA6dDauZdR87hOwXMcWici0HHAS2XamEUKZ 89WsPA7ifZMbXcJM/oy2HUkK4+x0SL0qPAKbqGGTSW4yQwkng0LTjti2K3v1nkEFgMtg Fcf2WSCKAVgLXUzwvD88atsab/ouxGf3QllJhGdKSNUybGDgyxH9AHx9F2xxmBwf6wAV uG1XY4KuuOQFtGsb9TQGOyNB7UYa3AtUk92z2Kh+Pz+39lFjeG2vk2To7I9xmohF3LBB H1SGCyBm4/EN6roBTNMo3jZH1PuP8vXnVwf91a7At9JTf9rRRxLdqyimrtVLtSwPNeAV CyQg== X-Forwarded-Encrypted: i=1; AJvYcCWasrrIjc7gLNdAHIyoQkBq0WwSU4Mx9M9f4mxHdf3SpKRG1fRXdW+3yiFmh+6s2PV6cMAgHrjh1j2cGw93L/s3ldznHC+Vx0DH2juoagFPjNuuNPYAP/N5ON0ZzRt+FG3jjSgs0vf8vIMOGxRrIi94AE/CkTttKpqTDT0HMyRYGaG2guVo6I8= X-Gm-Message-State: AOJu0YwKGFvFpUKgV0599La+GXAksDBe9m9oIa9bTdWBoC1ZrS+WEP7j QcMTF9/XOu43Rdh7irBxRvA7kII5nG87WZy2uHELqKjJFosLlTarbP0TkHv7 X-Received: by 2002:a05:6402:2315:b0:565:6c72:40a9 with SMTP id l21-20020a056402231500b005656c7240a9mr11458055eda.28.1709757320770; Wed, 06 Mar 2024 12:35:20 -0800 (PST) Received: from [192.168.3.32] (d-zg1-234.globalnet.hr. [213.149.36.248]) by smtp.gmail.com with ESMTPSA id fg5-20020a056402548500b005679143295fsm2041404edb.58.2024.03.06.12.35.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Mar 2024 12:35:20 -0800 (PST) Message-ID: <78b1a1a2-a9fa-4b28-9d96-d65bb5517199@gmail.com> Date: Wed, 6 Mar 2024 21:35:18 +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 v5 1/1] arm64: dts: qcom: ipq6018: add sdhci node To: Dmitry Baryshkov , 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 References: <20240306123006.724934-1-amadeus@jmu.edu.cn> <20240306123006.724934-2-amadeus@jmu.edu.cn> Content-Language: en-US From: Robert Marko In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 06. 03. 2024. 20:43, Dmitry Baryshkov wrote: > 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? > > I am not sure that 384MHz is actually supported as IPQ6018 datasheet > clearly indicates that HS400 mode is not supported. > > Regards, > Robert > >> + status = "disabled"; >> + }; >> + >> blsp_dma: dma-controller@7884000 { >> compatible = "qcom,bam-v1.7.0"; >> reg = <0x0 0x07884000 0x0 0x2b000>; >> -- >> 2.25.1 >> >> >