From patchwork Mon Dec 25 12:00:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wronek X-Patchwork-Id: 13504645 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 C2EEB54663; Mon, 25 Dec 2023 12:03:45 +0000 (UTC) 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SlYoH19R" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40d53297996so15480505e9.2; Mon, 25 Dec 2023 04:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703505824; x=1704110624; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aBQy6vgMSA/KrUei65+R4AvaCjiClzbb1i54FcWf2Kc=; b=SlYoH19RPFcoW40OL0C/yA1XBhjXtyuKbesQqSI01ogjzW5J3z7tz1fRE1tnPTZsyX 5w+okKvztTf/AGMgtk77u4rVgD7/vLB7MyQoOUJusAwSf4DGwlgytbyO6/aLOb71E316 cqhs+IPRfTwtUt8QwQ5cjSwKzQlffz/4sbYbOauT80h08ex2iMIQJjjmemH/ZMg6/FRt 0ywBpxi/jkNMfcYXgXiqQ8cXb5IC0Yn0BDVZMFYHT86QrJUr2bODJklvBsESO/4cwFNs 8vKfdZDsd8ifuSdBdcchtEEq9OwlkJPzdrW+0xSxGa1pFog3nPqqNL+dB8GBn7NoE8gg L9CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703505824; x=1704110624; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aBQy6vgMSA/KrUei65+R4AvaCjiClzbb1i54FcWf2Kc=; b=on2qKIHRj55/tUsH8001zGybSxUayJTjTkuR54KOexEnPmSVtRLPz3r1o64SIerHmV vjdJFH1xqB2IXXS/55xEi/dmhFkZeGNcG0W/8jl+B7b6KQwOlfIR9uFzw/GA4K9HsJxB ocCwgxUCD1c1Pt9HRLRj202vVxFG7AF5PcI8glOw9jjS5bBQl10UYtoAx08/Foaj02pW Gbo4X1astTawdOq2l12fwc6O++dGAq59YA4bbD8+EpMSifQDzOSxlcuQ8D/BVS0UENVH yVYnVbuK5BbKblsj0nmeZy2sJdIij93HemIpp5l677kc0J4OckfIphlggEvtnWlW44rg 7Dfw== X-Gm-Message-State: AOJu0YyfNlUO5IUDx/x8Uw3zsRFOoK6a4NBzXUEBEwO1yoM7A3VLPCs2 Y/dOKO594P9daevN+yggx24= X-Google-Smtp-Source: AGHT+IFqYujQM7qzRs2hqVvPlvkA+1xWN0S8j43BWOm5G7302VwXXV0bEQzIw5oXkTC1ANPIxeyy+A== X-Received: by 2002:a05:600c:2203:b0:40d:33eb:d46a with SMTP id z3-20020a05600c220300b0040d33ebd46amr3045684wml.141.1703505823841; Mon, 25 Dec 2023 04:03:43 -0800 (PST) Received: from david-ryuzu.fritz.box ([178.26.111.208]) by smtp.googlemail.com with ESMTPSA id 14-20020a05600c020e00b0040d23cea7bcsm6349456wmi.1.2023.12.25.04.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 04:03:43 -0800 (PST) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Herbert Xu , "David S . Miller" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason , hexdump0815@googlemail.com Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH v3 8/8] arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S Date: Mon, 25 Dec 2023 13:00:01 +0100 Message-ID: <20231225120327.166160-9-davidwronek@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231225120327.166160-1-davidwronek@gmail.com> References: <20231225120327.166160-1-davidwronek@gmail.com> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Joe Mason Add a device tree for the Xiaomi Redmi Note 9S (curtana) phone, based on sm7125-xiaomi-common.dtsi. Reviewed-by: Konrad Dybcio Signed-off-by: Joe Mason Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm7125-xiaomi-curtana.dts | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 39889d5f8e12..2e6984bbbb83 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -210,6 +210,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-curtana.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-joyeuse.dtb dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts new file mode 100644 index 000000000000..12f517a8492c --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-curtana.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023, Joe Mason + */ + +/dts-v1/; + +#include "sm7125-xiaomi-common.dtsi" + +/ { + model = "Xiaomi Redmi Note 9S"; + compatible = "xiaomi,curtana", "qcom,sm7125"; + + /* required for bootloader to select correct board */ + qcom,board-id = <0x20022 1>; +};