Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp282773lqk; Thu, 14 Mar 2024 03:02:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsWx8bKUpZsTs4LaKBE8HpiwgNLwKSauXQYndybChDRNkiA13xgJkUWjJ9XcyS85XXd/U3VMJImdGNJ0h8pZXK+co7/UE1DvRZv9dzTQ== X-Google-Smtp-Source: AGHT+IGQ13tqFCQmgR4zCA7vdILWjuq6jPRj/kxU8x5bS/BPIhMDrz0AorJk5ncwfOw4X+NIHC6Z X-Received: by 2002:a05:6402:2b87:b0:568:9ba8:8f1a with SMTP id fj7-20020a0564022b8700b005689ba88f1amr154772edb.7.1710410555835; Thu, 14 Mar 2024 03:02:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710410555; cv=pass; d=google.com; s=arc-20160816; b=MctE5jTmGjWKJ5xlEhlf5oMnyWHiyiSaete3Lpk1jobUQYyucbCR94vcWZC3clsU5x 9bSPul2+k7qL1iaUYr3ozdxPnT9CHcjLjw4NLz0KJo1Z0nSDvglj2sIV7OQ8p0f7Mf3k MEMhEeY3INUTc4mojobz2KCdY6yPrxTM6qaruSwCYqRAVUUmVXrKrurxPnVxdhaoPsBX ZeA3a9zjlShrwQWvVQFnNkIJ4gQQYwtvrIwFsT2jalQcX+XFH3iQPw6LJWwiGKJPmf10 Endb2Xcg2BstBDkW6HrioQkB6EbySjWhBnjNwwZDhlUBbJpWmuso582an37+nHuGQm/C os2A== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=bVCfYz9oIySfeLjhpRglcwU9GXWcLEvHNoQGqzXrLb0=; fh=SRnUan+f1oOs3W9km875ygiiJyEzxcMqa0Uz84BSdV8=; b=C3nP7NfHKtHpKizg12q8i35areEiPMk+KYdwTm0zLVJ0i/PkGwKa24ka5BWsfz9uXS IcTnLRBd7+a7g1s+d4f/X3V/JNNwq3lXytD2pTs+I4zvYX9aEwIck2w70G8SFlAROM76 ULKXGJuT/3FyM8PljzWSMEimUeP4HK/ud61+ROrYwbPHWgGtjWpa5ogejK5NRp6HSi/D jyaFpyDti6Lw40Z3cOuLVRz0YQB0qyZz5G31GqljJSDXMovR1mNVUMisjxs5gsxLGnWj F0ge7kawqgx39Z1pmE/x7jBrzNtDUTiVqCujssNLy8rPM1edkRljqcZdVAjfFSrZe9HM xbEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JQ0D63s8; 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-103088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a16-20020a05640213d000b005686a76b882si599034edx.419.2024.03.14.03.02.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 03:02:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JQ0D63s8; 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-103088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103088-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6480C1F213C4 for ; Thu, 14 Mar 2024 10:02:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6CB26D1B2; Thu, 14 Mar 2024 10:02:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JQ0D63s8" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.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 041616D1A3 for ; Thu, 14 Mar 2024 10:02:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710410547; cv=none; b=SANqMxCFf8MUUfBQWGZ3N8O91GsJM+vB6lNllvQ1xUqNNgNIvMe7N4WCrRx+G5ZrW+cRsemjGAGmJ4/6+YB66irdIy0otLHb3w3Di5kvhj/OJLuqEccA3EEMH0gyxWu7g0SAQkZNZV01QO3335j+GXrLJZcY2udP980DY5mkq1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710410547; c=relaxed/simple; bh=JpUcI29deeFUiVLFVWQx+YC17SdHXIIkn3hGw3jMbmA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=s0jGievpzTxvjHGASfbUjCFq8ebrWCOZeviJ+cvz6Jw2ZI2g3rGYhnPJY6T3psOXOlsJycuhCNIOdLeh0gS5kthBJW8z3Ya48L1/peI8q6oYrtkKjz+E/RtqAM1g/qqfMcQiLa3V8DLGVfLiv6K2fSDcuKM4zFDXyj0GQPe8Oxk= 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=JQ0D63s8; arc=none smtp.client-ip=209.85.167.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-lf1-f53.google.com with SMTP id 2adb3069b0e04-51320ca689aso939496e87.2 for ; Thu, 14 Mar 2024 03:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710410544; x=1711015344; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bVCfYz9oIySfeLjhpRglcwU9GXWcLEvHNoQGqzXrLb0=; b=JQ0D63s8krTuE1UYeh/HGXwQQm5wN0gZn4Yp07RPqEa5skRCXlLjWUEK5fDWKP+t2W 0z0RRawgSewaz5IYNy9c8430DFfdXpjnAQ+YffAtBdUTasZWRhSirN8w1TD/xh96oTZK TQ0P+q8vW4oFnj1Sl3C3Z08Jan//waZenQTmhHTdBHO+VHBsmjy651hjhHYEAw0tFlMw ffmE0+imL6eT1d/yZ1jxP+uu7ZWIfSKel/wS2xFbP0HACAGDpfc3ydW1CjbOYhrmfaUe xXl3y7bqFPCcnrS91h3kaScwYZp63OLqD+81MRTU5bp/icxmcYxAgtz2NMyogW9eBz7H /aOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710410544; x=1711015344; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bVCfYz9oIySfeLjhpRglcwU9GXWcLEvHNoQGqzXrLb0=; b=VuhrHhMaVWDjS91Zd4XjJ3zhjMjFkUhf62IQbFYrl1F0akzINqkxXElXDpZNQBTFDC 0i6pXZN1mREMxZYgHGY/jVfPqS9H821jv8H2qi1OVxwqSKQ/PcWNpxDdK9FooEKh/755 dBOeuL2phvMDrGMHVqQp871yAdXJIKy8rhuAvBY5cj8apYNfh4xSAhP5SbAxuYoCiw1u muJcSy990/ZykjnCg2VsiRUefXNA48SGyLmUhNz/sUiMrGG7v3Ar18h6txjeRXwYxmFG 4nQ9A3Ck0MZ7Ml5A0RHxhkEWW9askQys6W4FFgfnNexkKQ0itnkMB0vS7qec4jPsTYle /URQ== X-Forwarded-Encrypted: i=1; AJvYcCWP1iNJ+2U9rUfi6NtcGkQ0JxdZi7w3UEc2Yj4VTU4Z1yZPR9awzvX0w7+THigztmPq95AWMgPxYTOl8r8QqoDtsMRkInTHKSxObF5M X-Gm-Message-State: AOJu0YyyZhcNrzK4TNZ7QJ2LO6cO6XVTX0FTxPXtwMZ01OQY1yiICv5w uV2nOLqsid1zuOBLiV75mElNX3S9OhnKg0CVzXK/BmXsFaXvWS8DrU5evrd2OJM= X-Received: by 2002:a19:4307:0:b0:513:9f14:8f73 with SMTP id q7-20020a194307000000b005139f148f73mr934909lfa.36.1710410544124; Thu, 14 Mar 2024 03:02:24 -0700 (PDT) Received: from [172.30.205.0] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id h4-20020a056512350400b00513a9d149a7sm202192lfs.302.2024.03.14.03.02.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Mar 2024 03:02:23 -0700 (PDT) Message-ID: Date: Thu, 14 Mar 2024 11:02:19 +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 2/2] ARM: dts: qcom: msm8974: Add Samsung Galaxy Note 3 Content-Language: en-US To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Adam Honse Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240310-samsung-hlte-v1-0-e9b55bf98a48@z3ntu.xyz> <20240310-samsung-hlte-v1-2-e9b55bf98a48@z3ntu.xyz> From: Konrad Dybcio In-Reply-To: <20240310-samsung-hlte-v1-2-e9b55bf98a48@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/10/24 15:13, Luca Weiss wrote: > From: Adam Honse > > Add the devicetree for this "phablet" using the Snapdragon 800 SoC. > > Signed-off-by: Adam Honse > [luca@z3ntu.xyz: clean up, prepare for upstream] > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/Makefile | 1 + > .../boot/dts/qcom/qcom-msm8974-samsung-hlte.dts | 403 +++++++++++++++++++++ > 2 files changed, 404 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile > index 9cc1e14e6cd0..845af12d15a2 100644 > --- a/arch/arm/boot/dts/qcom/Makefile > +++ b/arch/arm/boot/dts/qcom/Makefile > @@ -39,6 +39,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ > qcom-msm8960-cdp.dtb \ > qcom-msm8960-samsung-expressatt.dtb \ > qcom-msm8974-lge-nexus5-hammerhead.dtb \ > + qcom-msm8974-samsung-hlte.dtb \ > qcom-msm8974-sony-xperia-rhine-amami.dtb \ > qcom-msm8974-sony-xperia-rhine-honami.dtb \ > qcom-msm8974pro-fairphone-fp2.dtb \ > diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-samsung-hlte.dts b/arch/arm/boot/dts/qcom/qcom-msm8974-samsung-hlte.dts > new file mode 100644 > index 000000000000..e03227a49b67 > --- /dev/null > +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-samsung-hlte.dts > @@ -0,0 +1,403 @@ > +// SPDX-License-Identifier: GPL-2.0 > +#include "qcom-msm8974.dtsi" > +#include "pm8841.dtsi" > +#include "pm8941.dtsi" > +#include > +#include > +#include > + > +/ { > + model = "Samsung Galaxy Note 3"; > + compatible = "samsung,hlte", "qcom,msm8974"; > + chassis-type = "handset"; > + > + aliases { > + mmc0 = &sdhc_1; /* SDC1 eMMC slot */ > + mmc1 = &sdhc_3; /* SDC3 SD card slot */ > + serial0 = &blsp1_uart1; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&gpio_keys_pin_a>; property-n property-names > + > + key-home { > + label = "home_key"; "Home Key" etc. > + > + pm8941_l20: l20 { > + regulator-min-microvolt = <2950000>; > + regulator-max-microvolt = <2950000>; > + > + regulator-allow-set-load; > + regulator-system-load = <200000>; regulator-min-microvolt = <2950000>; regulator-max-microvolt = <2950000>; regulator-system-load = <200000>; regulator-allow-set-load; [...] Konrad