From patchwork Sun Oct 3 08:31:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 12532619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E602CC433FE for ; Sun, 3 Oct 2021 08:32:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF2ED619E9 for ; Sun, 3 Oct 2021 08:32:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229889AbhJCIds (ORCPT ); Sun, 3 Oct 2021 04:33:48 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:37898 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229809AbhJCIdr (ORCPT ); Sun, 3 Oct 2021 04:33:47 -0400 Received: from g550jk.portal.nstrein.ns.nl (unknown [145.15.244.215]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 9454DC9072; Sun, 3 Oct 2021 08:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1633249919; bh=7A3bctolnPomul0Ceu+ocAChJSDa+GUUAFf4Ke825mc=; h=From:To:Cc:Subject:Date; b=cDaZGW7vadCXMfDCOVNdSTrGqr8VU8gvccrlL6DA1N3p0m4gWG3xSpyGfWRWSOkeA 6T08FT3SNi7oCdB+eDSRqrxuWt5oqkx8wGGXDsZ4Xiimpvhun0npLRveeKJ5xyke49 8xlc+MAD5wDb4JEJyFLCQ8ThU0kMbgSZF7+0Vy3c= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Luca Weiss , AngeloGioacchino Del Regno , Bjorn Andersson , David Collins , Hector Martin , Jonathan Cameron , Konrad Dybcio , Lorenzo Pieralisi , Mark Brown , Rob Herring , Sebastian Reichel , Stephen Boyd , Stephen Boyd , Sudeep Holla , Vinod Koul , Viresh Kumar , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/11] Initial Fairphone 4 support Date: Sun, 3 Oct 2021 10:31:23 +0200 Message-Id: <20211003083141.613509-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series adds basic support for the recently announced Fairphone 4 smartphone, based on the Snapdragon 750G (sm7225). This adds support for UART, power & volume buttons, screen based on simple-framebuffer, regulators and USB. Luca Weiss (11): clk: qcom: add select QCOM_GDSC for SM6350 dt-bindings: regulator: qcom,rpmh: Add compatible for PM6350 regulator: qcom-rpmh: Add PM6350 regulators dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350 pinctrl: qcom: spmi-gpio: Add compatible for PM6350 arm64: dts: qcom: Add PM6350 PMIC arm64: dts: qcom: sm6350: add debug uart dt-bindings: arm: cpus: Add Kryo 570 CPUs dt-bindings: arm: qcom: Document sm7225 and fairphone,fp4 board arm64: dts: qcom: Add SM7225 device tree arm64: dts: qcom: sm7225: Add device tree for Fairphone 4 .../devicetree/bindings/arm/cpus.yaml | 1 + .../devicetree/bindings/arm/qcom.yaml | 6 + .../bindings/pinctrl/qcom,pmic-gpio.yaml | 2 + .../regulator/qcom,rpmh-regulator.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/pm6350.dtsi | 54 +++ arch/arm64/boot/dts/qcom/sm6350.dtsi | 31 ++ .../boot/dts/qcom/sm7225-fairphone-fp4.dts | 322 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sm7225.dtsi | 16 + drivers/clk/qcom/Kconfig | 1 + drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + drivers/regulator/qcom-rpmh-regulator.c | 32 ++ 12 files changed, 469 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm6350.dtsi create mode 100644 arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts create mode 100644 arch/arm64/boot/dts/qcom/sm7225.dtsi