Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1264104lql; Tue, 12 Mar 2024 11:45:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWig5rxOUUkp5Qs8+fvLtOQqMLCyz5JvF7EUyoSadkVd6hXwQvT15pnJM7n+ncv6UphM+rSyBcPdMY6xtMfDRKfLns8+vo8DZZ0D7+yAA== X-Google-Smtp-Source: AGHT+IGd5TaTUDtqxTnqTZW8qSy/iuJf7cpiJDp4q+Vn4S4llUk3V+lyu0uBZiPra6uE5OCdb1lV X-Received: by 2002:a05:6a20:8f0a:b0:1a1:6978:fd6f with SMTP id b10-20020a056a208f0a00b001a16978fd6fmr8606982pzk.5.1710269130624; Tue, 12 Mar 2024 11:45:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710269130; cv=pass; d=google.com; s=arc-20160816; b=H5wPHxZYCaqmLaYcpqMBhbMt1HybH6PFvAGhtcKI5PeidE5a4af3gSHXL0BXF7iCKc JYiRPt9QOJDNTctK0BEktOFAByK59HCMKx8x5M1VFcJin2uoPcdv6BZfMLu8zSZ7TO76 SlQJK15M5vzL2OoVgj6/s4pQqo8PqavuRDYVEAMFVIxuJ0Icz27GwTndiOr/JvxE0/uo nqmH0l1iuYH8F32qmQXyxmLSBQZBaiPeD8LZ7844AFKYMM5UWj2ceHZ1KbKCSEVvgwm/ vL570S9z8mDUyKcITFI1HtZVfrl3i0Lb6aCXdJ9KZeoR1j+QgJPbTht9n80XVplMghnb vxVA== 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 :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=bEVFAngRvDl2zbSiDLqDrlc16GB0IzIQ5e1CSaj+FrM=; fh=wGreF2DgzmPjo8R8ZLYdWc8G+3kmsa0sh2kfF4ySIr8=; b=RvlDE2jd0q+jGFUpKIKP7f4Kd1MuCOoUQB2p+Y9ImcSSQrAdRPqTsx6NiS5gn1WFh8 oEvK1VNphpZhkvQtU6991C/8HyGeBMelKBbrRTara5jzb1/A18pJuoyJkUPAxiXpjVBK JwzX3K4mTzZ2MtGJwZ11L8FBkIV0vUOsj/kEe3VtOqSijS/ngiqFEFHl4yi8d6vFFhj/ 8BOZk2uH7ttiQX+LvuREirt35YzZ3nnVUgKXQLwrCOc7ryqnH39aA1AT5x4ueVdS1sdN mT+RUFYmEqZm8/lnwTfXaOk3WccomvgJemH5CLSzbBYafiFu2/BUivbgRbNrFNnfjMrk w9BA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HN1QAnTH; 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-100685-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100685-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 j2-20020aa78002000000b006e650049479si7264400pfi.96.2024.03.12.11.45.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 11:45:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100685-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=HN1QAnTH; 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-100685-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100685-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 34944282C15 for ; Tue, 12 Mar 2024 18:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20517139572; Tue, 12 Mar 2024 18:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HN1QAnTH" Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 5CBAA1419B0 for ; Tue, 12 Mar 2024 18:45:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710269117; cv=none; b=BE562RYC0fj2Zc/zv4P7TlbtibcC26oG8PQyCvEyewQqxFU27IP0ZnhHU6SP7Yiv4hCVCPVEbTpqpIn5hi9gZ1PjpHF9Kb/q6spMCuPhJolpuRwy8auRQQyLaol3X1jlCJb93KcoIFrD1MjG5Tl57lqywa4fL3dkPggzJQrTjHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710269117; c=relaxed/simple; bh=1zJnWv1hrjmsMywTXYDBfs8GRqOr++kEWNQG39++kCg=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=ogQHuQzjEg6S8/gZBnnxSzygxztbLNRtGQQ74mEUJMBNYuP+ujEVsh5MiqlRv8EzC1PY3wvjq391fkWQ0pZv5dbUaBLyd9wspTXNmsYU+pyXqspLy+QUtyZEAEPrG+w9Qi47V6wtyPVSSTYjh1rMLjOsaApW5PPNT5tJJD6n3cI= 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=HN1QAnTH; arc=none smtp.client-ip=209.85.128.53 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-f53.google.com with SMTP id 5b1f17b1804b1-413383969efso876495e9.1 for ; Tue, 12 Mar 2024 11:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710269114; x=1710873914; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=bEVFAngRvDl2zbSiDLqDrlc16GB0IzIQ5e1CSaj+FrM=; b=HN1QAnTHsJjHUsaQEJKNBD6wMRmov5z5Y+BM0AwLG/X1u0NycBQUn91yxFfXmaXb2l K/k+SMUm5oKoMv67NKnKXKh0EcjdKGvIBdyBzZABr0vXDExBuJKugyrGjNESFdRZ796m vbtY9cfaoT1dWXKTEcXndYMBnWbBz0hBQWKSe+JVYZx+pzo/hDsWi4/Scx4G+iBd8ucW ozJ0HXqH0zVi79IqLByVIATwe0JmONmh5XV7EEW6i23x4XhdhcARziroazAg3BWG/gTc 0GRpQjiWGqdN4gveD/RGmaMgVy5PG2LqVF6mppwVFIXRbY/vX6Domqcj4HN0JH5ZSgey R+xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710269114; x=1710873914; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to: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=bEVFAngRvDl2zbSiDLqDrlc16GB0IzIQ5e1CSaj+FrM=; b=QefOE/BVeMA0bsq4bliRpnK0QRGcq7zBASlV0sITwEVMO8VnwXfzfILqmv4J7vd7Z9 +GMcH6ckobBTyQcYWjC1V+mFL/teUxgunJHKJHahmxNy88JB5PiS6XnxLNlaL+/jY3Ir wtYpe7dHvvK21Uh6BkZgB3cXzqO53h18sA/JnijcAwcOi2Ha9qghC0njEJDhSE6Y8+kO EemcfYFA1T5bvU9GbQYDIkM5dFIEsJG2HO2cf/7NN1uQeucJFhDF/tFzK3xMVK1YRhWr 4VQly4AEPX+uD405t0Ize0O0RY/YSnPkSpRQNEDx0fLJ960qXuYxvJiSa73QtQjsh0Cj 8gUA== X-Forwarded-Encrypted: i=1; AJvYcCXcLtSoGa0edbnAu18t7Cq1d0bsK0VcZ9tkMXEFShnu8br6gxXgN+5ehLhT0gSoxlF9exst301/7BRHq+SxtC7rfFhJAWZlC7LR16ua X-Gm-Message-State: AOJu0YxLQy+8aQjjVcsG5Km7n/yaZ4DL2gfqNES15S95ZIURt63TybGq 2+xf/8aSTWLrKnbXGAa04xTHhNv9tZI55dKUJ+yPy6UDXUaY0Cf9OXg2MMUjX20= X-Received: by 2002:a05:600c:4f09:b0:413:2a42:8af5 with SMTP id l9-20020a05600c4f0900b004132a428af5mr354027wmq.15.1710269113447; Tue, 12 Mar 2024 11:45:13 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:8238:61bd:7273:ad90? ([2a01:e0a:982:cbb0:8238:61bd:7273:ad90]) by smtp.gmail.com with ESMTPSA id bh25-20020a05600c3d1900b004133365bbc6sm3142712wmb.19.2024.03.12.11.45.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Mar 2024 11:45:13 -0700 (PDT) Message-ID: <65d60ed4-e52c-4f98-84e1-4d753e29adfc@linaro.org> Date: Tue, 12 Mar 2024 19:45:11 +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 2/3] arm64: dts: qcom: sm8650: add support for the SM8650-HDK board To: Vladimir Zapolskiy , 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> <8a1b08df-dc44-6f9f-c819-33491308699e@linaro.org> Content-Language: en-US, fr 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 OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gk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efRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <8a1b08df-dc44-6f9f-c819-33491308699e@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 03/03/2024 00:26, Vladimir Zapolskiy wrote: > 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. Indeed > >>      - 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. Ack > > > >> +&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? Ack > >> +&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 Thanks, Neil