From patchwork Sun Oct 23 20:45:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harry Austen X-Patchwork-Id: 565 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp127595wru; Sun, 23 Oct 2022 13:46:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6C+cGKCZAiwpLTvN1brBwrS3P2iz52eOUHJ+ZTDyMyTEfDZV54KH7Fqo6mfA3N9UlM7l0o X-Received: by 2002:a17:90a:1946:b0:212:f926:5382 with SMTP id 6-20020a17090a194600b00212f9265382mr5656385pjh.218.1666557984192; Sun, 23 Oct 2022 13:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666557984; cv=none; d=google.com; s=arc-20160816; b=dZtdd5wnHSnvqcmzjPvgiMn73D/IIqsEQ3oXeMq/6q2lpwZYm4xIc9X8EMYq59rWXx toBfEDzCCXyGYF7CLIfrXy0K0JHoRSCz0R5IWX3x4u/P/Q3jc/zSk/wCgdc/Qg9OPLCh n/MzKGz6aI+3v3kLf7znqPFPQXlVEfWcO/+WOMSsnSm9aEMx5swP8wBmS0i3iFv3RnGp cA0Oode6kBjraZWnSzaY8OmV5H77dmTuz4jDnQ6BpoSXTpKwxhejzCV6Q+e5nrXIivTX NcU6ab0YWoz9ZmoyMMlTeC8ImMTGz3XV9gkTn6i06ht8LbWz4VYuRmB/VF2+fCvA89W6 HVOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:message-id:subject:cc:from:to:dkim-signature:date; bh=2rN4cjOm0aDr2fXoK1xd1UdWC2BFDa/1yVmlDfrqD/k=; b=ZOcitw/uEilvBRr2Zj/Rsq8YJ8CYtAXoEy39rrf0LecIiX1v9CP3i4oZ39fiXXYCmd oPnO1gRswsznm0N8G4jj6vi62Jv04kDYoeW9bFkATuRVMR4CZFHrnqZYOFSNDR2rx7YD 4BApczTzAjMYDJXKJTBbDUeAwLpmoSaedMACP7qchR5AEhu/PMr27DRTZZLBGnNdrm8m MEmb4EM2fyLID8fCZt6TTChN5SozdHziLNEXqRk7Kki+rBjWi9TR6ylbb4AAXtHfcSzo Z+MxzWpz8C9nNAWgkL0UDJEqrVYBhBdP4LiFdNUI2kWJcOCOmDM8WekdRybZEc503P2Q h2+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=NdmEP81j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17-20020a170902ce9100b0017e90e88875si33180803plg.384.2022.10.23.13.46.10; Sun, 23 Oct 2022 13:46:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=NdmEP81j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbiJWUpm (ORCPT + 99 others); Sun, 23 Oct 2022 16:45:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbiJWUpf (ORCPT ); Sun, 23 Oct 2022 16:45:35 -0400 Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37B63580AB for ; Sun, 23 Oct 2022 13:45:31 -0700 (PDT) Date: Sun, 23 Oct 2022 20:45:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1666557923; x=1666817123; bh=2rN4cjOm0aDr2fXoK1xd1UdWC2BFDa/1yVmlDfrqD/k=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=NdmEP81jR0Cpm3aESb9TzhQpFG6ya+sKKfjzJ8KmGSoFhOzi97VuLKTiKVPvlFQfE v7+rkAkjjw2xZ1Bp/F5n+pAroFsTvjDftbk29vnDTD/f0aH/xHE/ZLf14Xt6826gk9 UBVI6TGSkBb6wU4ad5GuWLU6kNp4kmkKI+mbnwgTjREVNoSbgc9PVuo7kuDQp65z23 xDB2Ta3KdZqOpWryd7lcnWDm1SaKfJIYtyhv3EnKtoILABrYzSchQbOBK9gYkI1CQj f+nV+XSCV3hrFUDjMpsgZaMB6inOeo8qx0llK+7b5MgmKOnFBwJ556xgWypzqDBFbS /eAZPMLOmRWvQ== To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski From: Harry Austen Cc: Harry Austen , Yassine Oudjana , Andy Gross , Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: [PATCH v2 0/4] Initial OnePlus 3(T) Support Message-ID: <20221023204505.115141-1-hpausten@protonmail.com> Feedback-ID: 53116287:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747512704374563685?= X-GMAIL-MSGID: =?utf-8?q?1747512704374563685?= Changes from v1 --------------- v1: https://lore.kernel.org/all/20221021142242.129276-1-hpausten@protonmail.com/ - fix node name DT schema problems - removed "simple-bus" compatible from /clocks node - use common "-clk" suffix for divclk1/4 node names - use common "-regulator" suffix for wlan-en regulator node name - move status properties last in all nodes - fixed copyright to be assigned to myself, since I don't work for LF - add Krzysztof's Rb tag to bindings patch This patch series adds support for the OnePlus 3 and OnePlus 3T mobile phones based on the Qualcomm MSM8996 SoC. Currently includes support for the following: - UART console via PCB test pads - Qualcomm Atheros QCA6174 WiFi and Bluetooth - NXP TFA9890 Speaker Amplifier - TI BQ27541 Battery Fuel Gauge - Synaptics RMI4 Touchscreen - UFS Storage Harry Austen (4): arm64: dts: qcom: msm8996: standardize blsp indexing arm64: boot: dts: msm8996: add blsp1_i2c6 node dt-bindings: arm: qcom: add oneplus3(t) devices arm64: dts: qcom: msm8996: add support for oneplus3(t) .../devicetree/bindings/arm/qcom.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/msm8996-oneplus-common.dtsi | 787 ++++++++++++++++++ arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts | 44 + .../arm64/boot/dts/qcom/msm8996-oneplus3t.dts | 45 + arch/arm64/boot/dts/qcom/msm8996.dtsi | 49 +- 6 files changed, 920 insertions(+), 9 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi create mode 100644 arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts create mode 100644 arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts --- 2.38.1