Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1089519lqg; Sat, 2 Mar 2024 15:26:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUZi+vvSWNH0B7H99VeOKpsRmueVyOV1eggQenZXCWlqoAfaETUFY5IWYY65Yt3ABTQv6U9cakuwIzLl8HSVMSiE1S498uPe9h0AbUs3A== X-Google-Smtp-Source: AGHT+IF8KUYvWSxHmc3PQO8Ki++txoIAmOU3DDsThS+Aki4+o2MIZ2ygTYQ+kXuPYgSDdpzAB/ai X-Received: by 2002:a17:903:249:b0:1d8:eb2b:7b26 with SMTP id j9-20020a170903024900b001d8eb2b7b26mr5959185plh.49.1709421996081; Sat, 02 Mar 2024 15:26:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709421996; cv=pass; d=google.com; s=arc-20160816; b=KEeq+4OcH3ApGpCLOhq6Yn/nHUq8OTkgEuC1quV0bZrymp5/+laJp/9RudShkkGGUd r45aTImQaD6mVKYX6YV0YwUs9JwwqW9GYm95GkWFkumXJyGoqpf6bWqtRauQOAbpXDBO WzKlDo6iyILGaDSwRkWQIbZ0wx6RPpa9W3SwSeWPTTmSV9YridSq71nc9GEhUVlumsmD zSqHFY7IouNvAaKKZVvM1CFMd38oOfaBlsAsReAC+vurjsUHp8mpucjghg9JYeKMt5K4 6nhftbf5Z4Wo/tsvst7AZLzbagCAqBbQw3CU4EB1QbrvaKu5pHUzeVXiQs69moypgVSN AllQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=91l1ZuFqeuBqMaEr1yfV8RMJG1YWc8ygTqpkAMdBgko=; fh=3XtvHWRc3jswWV+dev+7DxNzN1PVP6cMnIhkIQN4blY=; b=ouB5k/KWMMo+Oyral0aU8c371y6Sz5AeYBed3hLcIXHM79yGMKNO6YyyY21k+XYSg2 9DZkMzNRHiTC6xUR0jJlyJa4v4Q8TPcsqyRgFWqStuKfpx+QA9T+xy5BX9fXwhlS7JbW 7uEZ0a/cswUBY2u3CT5/wXUf7ZzI71zzsak24Lz6KAsQwuSXWb8UnBAmt32Do8RILsbU Ee6Mh8vh9ne132aP95BUJyRJU1FwTas4JEDcHsmRo1ojd96oEJPNJh8SjXpkcwcUM9Y9 6wwkHEZeySaHJXV340nb+6ArViezYj9VXAc4vCupim1ItNfartMfHc5mKpU3bo3NofAb 5blw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fKHMAs/u"; 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-89619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v5-20020a170903238500b001dca843f0bcsi6121223plh.443.2024.03.02.15.26.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 15:26:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fKHMAs/u"; 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-89619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89619-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BC5E928410A for ; Sat, 2 Mar 2024 23:26:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6F7454725; Sat, 2 Mar 2024 23:26:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fKHMAs/u" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 1BDCD4AEE1 for ; Sat, 2 Mar 2024 23:26:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709421987; cv=none; b=Yum0zdRvbKhtEeRvt0EAHY/uZ8A2Wy0YL+Nq5Ga+w+KxMhT4vJ85H9wmC/RwcIgCq7b34J3jCvhkaLpAk/3NaoiQMfub/9srpqJ8tzbn352r3rOqn6IJZHC0zK+S/BFKVDZ9yIOXaP48zliRk1UzDggPJFsV0d88UJ2gYZF5Pg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709421987; c=relaxed/simple; bh=WWoPXoEikJ+qkTL7RUU2//A1oFwcmolq2w8LR5Xiczs=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=Zrx4+CaTH/UFrD7Bj1zApChs6qEfE7szj2tJ66yZZPPm5zC6e16X7OmJlMsfSvJtwJorsA9jg192onCgpzSI4Yd7yXCeZcADZUcHaORsRESv1/hMnU7mAQRvatqUjfsykyr8D8DtheoskYeFFcN5iquvECuXGCz5bmeNRX/HoI0= 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=fKHMAs/u; arc=none smtp.client-ip=209.85.167.41 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-lf1-f41.google.com with SMTP id 2adb3069b0e04-5132bd70e7dso718137e87.1 for ; Sat, 02 Mar 2024 15:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709421983; x=1710026783; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=91l1ZuFqeuBqMaEr1yfV8RMJG1YWc8ygTqpkAMdBgko=; b=fKHMAs/utfMMhneONRmXOG+r6SaDqyqkQGeprcXNP2SPh9WHM1J3d46rUHJJuPWWpI a+tanMOQwRytinlqj22wOAen9TAQCFshEe8OXlqte8KlJJOMIKoZCW2ypyDdSXwQL0nc RcP3T6YqxsaFw0NOBQJucPWsVwFz2615POpEIY7ftEDJdW7qGrqimeC43ab0VSV+66Uv mvH6+GnnAG44q2GWRfOVXbwnHD3VhxzsW/uszNdjeB2Hzv0T/twlCD8inzgkhhGXkpsV 4mmKcBJWE7uoM3y5KIlxCr0sk9nxdwkCL/Fu+/zYh6COLlKDbskrMltYvP32pUZ2hjIT ivZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709421983; x=1710026783; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=91l1ZuFqeuBqMaEr1yfV8RMJG1YWc8ygTqpkAMdBgko=; b=sRpwURGz6nMNYieTQ06r4k3qObjwIK0seqfI8QVlKl9mW5d0+MO0hOArB0GS6gvf7R IxFL5bNQl8rf5cEpKEKin+zE4+0dc/2lh1XWHv/lwjDSD/dwGFIlSTWDnsH0CPE2R1Pb 17yZNO5nYHBkk+9PQWO1Mz7jdTc02bnlsmANyYklhRIf5eloEa4vQK0o/WSZ1im4+m3u Zmkg3cYTCwG+km/Kv/NdlwaLSgcSlhmfBUDpjoyfarqB93lTp+YKUY8v4hArLo/h0hJe rV3+z9BZrziWKLw8e7D5xjlHQnx1xqk8cFyOgoPUmCRo0P044NMNIWn3dqimu0vOo/ba ygCA== X-Forwarded-Encrypted: i=1; AJvYcCXb4uwpwivkejf7kPDrDtNMg195QiAQZglQ+QDLA4Wi09wzPtjprI4XyzS3qhlzzkJDeGlLFbK9MWyzIlC8xAUAeoWeGQamYpkcjxG1 X-Gm-Message-State: AOJu0Yyoaw7qcIsU092YXFD9TzNBt0t600Nw6D4BWB+yBRR/EI06+suG xBEoQDG7KGeaTck9iwT5JQYobZ06IvSNzl7qPaEq4MzKCoqGlMb3Ey459TfpSMgRKL3wM2JujW9 w X-Received: by 2002:a05:6512:3e1b:b0:512:a026:1f13 with SMTP id i27-20020a0565123e1b00b00512a0261f13mr3705669lfv.3.1709421983115; Sat, 02 Mar 2024 15:26:23 -0800 (PST) Received: from [192.168.1.102] (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id y26-20020ac2447a000000b005133ca2a28asm352617lfl.110.2024.03.02.15.26.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Mar 2024 15:26:22 -0800 (PST) Message-ID: <8a1b08df-dc44-6f9f-c819-33491308699e@linaro.org> Date: Sun, 3 Mar 2024 01:26:14 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 From: Vladimir Zapolskiy Subject: Re: [PATCH 2/3] arm64: dts: qcom: sm8650: add support for the SM8650-HDK board To: Neil Armstrong , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240223-topic-sm8650-upstream-hdk-v1-0-ccca645cd901@linaro.org> <20240223-topic-sm8650-upstream-hdk-v1-2-ccca645cd901@linaro.org> Content-Language: en-US In-Reply-To: <20240223-topic-sm8650-upstream-hdk-v1-2-ccca645cd901@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Neil, On 2/23/24 10:52, Neil Armstrong wrote: > The SM8650-HDK is an embedded development platforms for the > Snapdragon 8 Gen 3 SoC aka SM8650, with the following features: > - Qualcomm SM8650 SoC > - 16GiB On-board LPDDR5 > - On-board WiFi 7 + Bluetooth 5.3/BLE > - On-board UFS4.0 > - M.2 Key B+M Gen3x2 PCIe Slot > - HDMI Output > - USB-C Connector with DP Almode & Audio Accessory mode > - Micro-SDCard Slot > - Audio Jack with Playback and Microphone > - 2 On-board Analog microphones > - 2 On-board Speakers > - 96Boards Compatible Low-Speed and High-Speed connectors [1] > - For Camera, Sensors and external Display cards > - Compatible with the Linaro Debug board [2] what are these [1] and [2] references? Probably there might be some links. > - SIM Slot for Modem > - Debug connectors > - 6x On-Board LEDs > > Signed-off-by: Neil Armstrong > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > arch/arm64/boot/dts/qcom/sm8650-hdk.dts | 1259 +++++++++++++++++++++++++++++++ > 2 files changed, 1260 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index 7d40ec5e7d21..4f48c98451de 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -241,6 +241,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8450-sony-xperia-nagara-pdx224.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8550-hdk.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8550-mtp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8550-qrd.dtb > +dtb-$(CONFIG_ARCH_QCOM) += sm8650-hdk.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8650-mtp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb > dtb-$(CONFIG_ARCH_QCOM) += x1e80100-crd.dtb > diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts > new file mode 100644 > index 000000000000..cb1e0f569483 > + > +&i2c6 { > + clock-frequency = <400000>; > + status = "okay"; > + > +}; > + > +&i2c3 { > + status = "okay"; > + > +}; Please change the order of i2c3 and i2c6. > +&pcie_1_phy_aux_clk { > + clock-frequency = <1000>; > +}; > + May be put the clock above after &pcie1_phy like in the list of gcc source clocks? > +&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"; > +}; > + So I've found just these minor things, and I've successfully tested the dtb on the SM8650-HDK board. Reviewed-by: Vladimir Zapolskiy Tested-by: Vladimir Zapolskiy -- Best wishes, Vladimir