Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp311962lqt; Mon, 18 Mar 2024 08:30:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUriQCtxhzcjtE+5oi09UqV5i97AzZX3l0JB1DiOV0hEFYN175uKQQx2ncY/3bQVLV3CXwkExsAUnBdmILDoUFlc3zRI1nI2ip4TJh9AA== X-Google-Smtp-Source: AGHT+IGZNUGUh69JtNR9KwJMz+wtHsU8nCugLSplhhBJvJJeAxnV1Ws3tC+8InX6/jx4QsO5/tDK X-Received: by 2002:a05:6808:11c5:b0:3c2:5195:8314 with SMTP id p5-20020a05680811c500b003c251958314mr12977534oiv.26.1710775839307; Mon, 18 Mar 2024 08:30:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710775839; cv=pass; d=google.com; s=arc-20160816; b=jVXGkyUiGf+1XomM/VgEsXuMedVqKYUifL2lq8j2A/u4nqsHrDTEo0tFyaSEJVrdNT pQhKKEhDGpHEWCbi1HCisy2UlTp+HPNa8RlZfX7WaaxcuY4hnQxxnMa3eSqm++/ubTiG wHk/uass7JBFW1Ahsscy7ZNlsy0lRXeqywcQpqXvFkIDsawNUipyyD1wTbsph5hJVOo2 6gLW4pN7HptGDi9uhfcXFIkgsEiAwhfA9gvVhU2kUcY7tZDESLI0SCdeDMY6w/Cq0YNj itDg6ekat4Gp7G1HXwi/15emaiLx8+xn56X/TMOD2Wnsztsajm9ga0cPDHbfXT/o9eWR tclw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=hvkZMpuU/BxP5fokIc7kS/rTPDyW8R0hs8/rMgw1XDM=; fh=CCrsxKpG64w//jkyteFxELMhNjykM8a5IEz2zN9kBHA=; b=0QFrSB4YY5zy9LQQD96+jAaogd7QXmmlyoY7DTBbdHXVrOFMpMhpaPo+JxqeyYXr4f KV348iYh/ZO/dxkg/DCIz/hzGBkUROO2EfhZ7UDhD+5efS6FkOcHepr3dctAOz8c1yjZ 9GlbLiwa6TWbeyfTIMbJyje5Za0ZlLZPR/CkjvCR6qJlKG1gINV8OZ9DVrrlSujr8fR8 88n3lv1TpfSYtc42jqowZR64aqkK+set08JPL9lwT6XOgTfxBM8915UNOKdNrrG5ThOR Z646O/JKIaA0WX/A0zsL3LV4PUmu8u1eX9WfYkKkt/1nhuD0ZoRZyuME0b+e7OAEHWgF oxag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cLXsB8H4; 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-106305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106305-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c8-20020a05622a058800b0042f1ee58680si9445179qtb.256.2024.03.18.08.30.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 08:30:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cLXsB8H4; 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-106305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106305-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EC25E1C206A7 for ; Mon, 18 Mar 2024 15:30:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 991994F5ED; Mon, 18 Mar 2024 15:30:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cLXsB8H4" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 B6A904F1FE for ; Mon, 18 Mar 2024 15:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710775829; cv=none; b=mAvNdFVU9X2K3KfsLM3rVz8aL+qmLeKIUWRozkEHvcfeH0czaA+uAMKEeyf9m7OfFF/83JB8h3RHN/CgzwS95najpX6T9PLUBAOkkqtNuMBc+kwwZNNA5Tf1S/g5MhfBPXkVZjnjEtcee2TMY+ITCmhCvDw2pD5t0mIplT5MRAQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710775829; c=relaxed/simple; bh=9ttNpHLNHVB5SH+295amwQekMvFSDrUFuqdRogaB4hU=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=FBtx/7WDK7ftUOME+5ISB9szR7yM3JyHp7/gInI0yzAZmvGdcPEhfLEwMCR7IMShICq0PzH3yUmrtMOrLIuI5PD6Fwt9Ptsv2FfRrVC5Z4rcgekKrA4irFxPxbrVNl/segzvUoqgnJ7zz314vb/3/At67tW0hZkdtG6VW90BXnw= 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=cLXsB8H4; arc=none smtp.client-ip=209.85.128.43 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-wm1-f43.google.com with SMTP id 5b1f17b1804b1-41460512c25so2920685e9.0 for ; Mon, 18 Mar 2024 08:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710775826; x=1711380626; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=hvkZMpuU/BxP5fokIc7kS/rTPDyW8R0hs8/rMgw1XDM=; b=cLXsB8H4xIao+yQZ0sbt+6KpiTGehUnVD1XZ2D310ImvBV8sCq9KoNlckKbZkyHJOS jMTFL3EIekzlaq9nHyNg5Q8nGLhmvT4ov/l2t7ZATyoqlXgmv521JNCMR1YGOotVfUp+ urHT87XXsrcrcUwhthQM5/bFuuIDELQrv0dkHcLpYylSdZ64uTQ/8Q1rafr53VF/UyXC pXulnsvoT1WUOZsYo5Z5R8fhxefzUzmzxsbdm2BFThCLWs884xEy+b1Z+IwCYMVbTFsV 2LYdWzkRK0+N/2seshMDuEVx+2dszn2GwAJxpxhX4qJGw+tLruk/LUt3Dw1xlYBUV+Y0 l57g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710775826; x=1711380626; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=hvkZMpuU/BxP5fokIc7kS/rTPDyW8R0hs8/rMgw1XDM=; b=R4M+VRMqX4lBFK+U82GYT8K6d3RyP4oUnli5kjvtw/zbxt8JptgrnkeLZ8CM6lyWUb jEOVsjaLZeJD3OLrvCqysHNOk3pwUS378k6datE1b6RsUe36JHcpgqDsFvVDk5H9fZ9p n/4Cj1cEdyxgUQoE+NfxNaZ2HKvOqrgi85z9rzGPd2nedsMPBEn/sxIi3sCeq5WXqgaC Kwh+m4hkC/nbKVa0oXLuBtELOv07sjTRCEBTRljeF9c5i99h2P01ceuG+3JeF/2wySuQ zFnjsMeF/bgdxaKKGVB9EvNSRXKzCJ7y7FrEGPPzy1wCH0594j9KebHIDW8ok8ocFDtl J2HA== X-Forwarded-Encrypted: i=1; AJvYcCUPLgPWacrSY8apgPJWaTfE4y8EAyiQg+kBdbcxoE/KtmZs8rCitP/mibdZoW7NqJ319rAuvTRMAPxl/D8ndR+o+vftAGmME2DQ8RaQ X-Gm-Message-State: AOJu0YyN1lMMsApcDbFK2RWNhT64r7IQgczHB5OpoRdPTGLhSlX0xlzQ njjSI1B5hvhukJdOXg11pekEH1Bj/5ueKt/nk8+jMshqGTkU69z93mP0PcT9QJUiSc3LIyilZg5 JbH4= X-Received: by 2002:a05:600c:3556:b0:412:beee:36b3 with SMTP id i22-20020a05600c355600b00412beee36b3mr7825440wmq.7.1710775825906; Mon, 18 Mar 2024 08:30:25 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:ad2b:a316:59d9:3dbc? ([2a01:e0a:982:cbb0:ad2b:a316:59d9:3dbc]) by smtp.gmail.com with ESMTPSA id t6-20020a05600c450600b004133365bbc6sm18280915wmo.19.2024.03.18.08.30.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Mar 2024 08:30:25 -0700 (PDT) Message-ID: <11cecb76-dbbe-417c-824b-85cff556f304@linaro.org> Date: Mon, 18 Mar 2024 16:30:23 +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 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v2 2/3] arm64: dts: qcom: sm8650: add support for the SM8650-HDK board Content-Language: en-US, fr To: Bjorn Andersson Cc: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Zapolskiy References: <20240318-topic-sm8650-upstream-hdk-v2-0-b63a5d45a784@linaro.org> <20240318-topic-sm8650-upstream-hdk-v2-2-b63a5d45a784@linaro.org> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UP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0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 18/03/2024 15:43, Bjorn Andersson wrote: > On Mon, Mar 18, 2024 at 10:51:54AM +0100, Neil Armstrong wrote: > [..] >> diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts > [..] >> + vph_pwr: vph-pwr-regulator { >> + compatible = "regulator-fixed"; >> + >> + regulator-name = "vph_pwr"; >> + regulator-min-microvolt = <3700000>; >> + regulator-max-microvolt = <3700000>; >> + >> + regulator-always-on; >> + regulator-boot-on; >> + }; >> + >> + vreg_bob_3v3: regulator-vreg-bob-3v3 { > > It would be nice if these nodes where sorted alphabetically. damn, ok > >> + compatible = "regulator-fixed"; >> + >> + regulator-name = "VREG_BOB_3P3"; >> + regulator-min-microvolt = <3300000>; >> + regulator-max-microvolt = <3300000>; >> + >> + vin-supply = <&vph_pwr>; >> + }; >> + >> + wcd939x: audio-codec { >> + compatible = "qcom,wcd9395-codec", "qcom,wcd9390-codec"; >> + >> + pinctrl-0 = <&wcd_default>; >> + pinctrl-names = "default"; >> + >> + qcom,micbias1-microvolt = <1800000>; >> + qcom,micbias2-microvolt = <1800000>; >> + qcom,micbias3-microvolt = <1800000>; >> + qcom,micbias4-microvolt = <1800000>; >> + qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; >> + qcom,mbhc-headset-vthreshold-microvolt = <1700000>; >> + qcom,mbhc-headphone-vthreshold-microvolt = <50000>; >> + qcom,rx-device = <&wcd_rx>; >> + qcom,tx-device = <&wcd_tx>; >> + >> + reset-gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; >> + >> + vdd-buck-supply = <&vreg_l15b_1p8>; >> + vdd-rxtx-supply = <&vreg_l15b_1p8>; >> + vdd-io-supply = <&vreg_l15b_1p8>; >> + vdd-mic-bias-supply = <&vreg_bob1>; >> + >> + #sound-dai-cells = <1>; >> + }; >> +}; > [..] >> +&mdss_mdp { >> + status = "okay"; > > On other platforms we left status = okay on the mdp child node, as it's > pretty rare that you want mdss okay, but mdp disabled... Sure, but this is quite unrelated to HDK > >> +}; >> + >> +&pcie0 { >> + wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; >> + perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; >> + >> + pinctrl-0 = <&pcie0_default_state>; >> + pinctrl-names = "default"; >> + >> + status = "okay"; >> +}; >> + >> +&pcie0_phy { >> + vdda-phy-supply = <&vreg_l1i_0p88>; >> + vdda-pll-supply = <&vreg_l3i_1p2>; >> + >> + status = "okay"; >> +}; >> + >> +&pcie1 { >> + wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; >> + perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; >> + >> + pinctrl-0 = <&pcie1_default_state>; >> + pinctrl-names = "default"; >> + >> + status = "okay"; >> +}; >> + >> +&pcie1_phy { >> + vdda-phy-supply = <&vreg_l3e_0p9>; >> + vdda-pll-supply = <&vreg_l3i_1p2>; >> + vdda-qref-supply = <&vreg_l1i_0p88>; >> + >> + status = "okay"; >> +}; >> + >> +&pcie_1_phy_aux_clk { >> + clock-frequency = <1000>; > > Is that so? This is how the pcie_1_phy_aux_clk was documented on SM8550 and SM8650 and downstream uses the same clock-frequency. Neil > >> +}; >> + > > Regards, > Bjorn