[PATCH 00/11] Add Nothing Phone (1) support

From: Danila Tikhonov
Date: Mon Jul 29 2024 - 16:22:45 EST


This series of patches adds support for the Nothing Phone (1), identified
as nothing,spacewar. The Nothing Phone (1) is built on the Qualcomm
Snapdragon 778G+ (SM7325-AE, also known as yupik).

SM7325 is identical to SC7280 just as SM7125 is identical to SC7180, so
SM7325 devicetree imports SC7280 devicetree as a base.

All of these patches are essential for the integration of the Nothing
Phone (1) into the kernel. The inclusion of SoC IDs is particularly
important, as I encounter crash dumps if the device tree lacks msm and
board id information.

To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Bjorn Andersson <andersson@xxxxxxxxxx>
To: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
To: "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
To: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
To: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
To: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
To: Kees Cook <kees@xxxxxxxxxx>
To: Tony Luck <tony.luck@xxxxxxxxx>
To: "Guilherme G. Piccoli" <gpiccoli@xxxxxxxxxx>
To: Sudeep Holla <sudeep.holla@xxxxxxx>
To: Andre Przywara <andre.przywara@xxxxxxx>
To: Rajendra Nayak <quic_rjendra@xxxxxxxxxxx>
To: Sibi Sankar <quic_sibis@xxxxxxxxxxx>
To: David Wronek <davidwronek@xxxxxxxxx>
To: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
To: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
To: Heiko Stuebner <heiko.stuebner@xxxxxxxxx>
To: "Rafał Miłecki" <rafal@xxxxxxxxxx>
To: Chris Morgan <macromorgan@xxxxxxxxxxx>
To: Linus Walleij <linus.walleij@xxxxxxxxxx>
To: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
To: Johan Hovold <johan+linaro@xxxxxxxxxx>
To: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>
To: Luca Weiss <luca@xxxxxxxxxxxx>
To: Krishna Kurapati <quic_kriskura@xxxxxxxxxxx>
To: Lorenzo Pieralisi <lpieralisi@xxxxxxxxxx>
To: Eugene Lepshy <fekz115@xxxxxxxxx>
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-arm-msm@xxxxxxxxxxxxxxx
Cc: linux-pm@xxxxxxxxxxxxxxx
Cc: linux-usb@xxxxxxxxxxxxxxx
Cc: linux-hardening@xxxxxxxxxxxxxxx
Cc: linux@xxxxxxxxxxxxxx
Signed-off-by: Danila Tikhonov <danila@xxxxxxxxxxx>

Danila Tikhonov (9):
dt-bindings: arm: qcom,ids: Add IDs for SM7325 family
soc: qcom: socinfo: Add Soc IDs for SM7325 family
cpufreq: Add SM7325 to cpufreq-dt-platdev blocklist
soc: qcom: pd_mapper: Add SM7325 compatible
dt-bindings: soc: qcom: qcom,pmic-glink: Document SM7325 compatible
usb: typec: ucsi: Add qcom,sm7325-pmic-glink as needing PDOS quirk
dt-bindings: arm: cpus: Add qcom kryo670 compatible
dt-bindings: vendor-prefixes: Add Nothing Technology Limited
dt-bindings: arm: qcom: Add SM7325 Nothing Phone 1

Eugene Lepshy (2):
arm64: dts: qcom: Add SM7325 device tree
arm64: dts: qcom: sm7325: Add device-tree for Nothing Phone 1

.../devicetree/bindings/arm/cpus.yaml | 1 +
.../devicetree/bindings/arm/qcom.yaml | 6 +
.../bindings/soc/qcom/qcom,pmic-glink.yaml | 1 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../boot/dts/qcom/sm7325-nothing-spacewar.dts | 1261 +++++++++++++++++
arch/arm64/boot/dts/qcom/sm7325.dtsi | 17 +
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
drivers/soc/qcom/qcom_pd_mapper.c | 1 +
drivers/soc/qcom/socinfo.c | 2 +
drivers/usb/typec/ucsi/ucsi_glink.c | 1 +
include/dt-bindings/arm/qcom,ids.h | 2 +
12 files changed, 1296 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/sm7325-nothing-spacewar.dts
create mode 100644 arch/arm64/boot/dts/qcom/sm7325.dtsi

--
2.45.2