From patchwork Tue Oct 24 20:57:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 157692 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2199057vqx; Tue, 24 Oct 2023 13:59:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWVra5Q2mhNFyl6TMRjcZCWIW2WxTkVAD1CRddwj9ATY7dpXqMtWbGAtjJORFO9DzMf+Rg X-Received: by 2002:a17:90b:8ca:b0:27c:f282:adac with SMTP id ds10-20020a17090b08ca00b0027cf282adacmr23280831pjb.0.1698181139808; Tue, 24 Oct 2023 13:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698181139; cv=none; d=google.com; s=arc-20160816; b=L2RVyABCwFehp8gZiTpevN7jf6wek3NrX65hzcZyhb3nEpadYTacLdBcL9nFfHIMKm kUPg+1UEanI+XVmCJ0X5Rt82LD9n4IcH8LI270oX5fUmQ5k/GwQvwZPTZZ8Xwn0byD5C c2nWJVSkLdAox8jXDxIisM0XKQOIkFGP6gmuPWVDXw7HmQfzGxNcLcR5SJeguUUrRg0J U0criwgKQUvy3pHY4CzYEameHyY1JDoO1MzA/NOsX6JZfd8TdH99pXM6XFTOoxrOuIYY pbEEP2Dyg5phkI91smoAP1lUGx1p54bHgOqdnQ3Vbw+vxTurET6LvGh8zovz7iohN60V XpjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=o0PDuKyNgYB1yEoZC3f/11/KJ4mo1Gv+0WyxjJ1x3Lc=; fh=SxZEQPa7J6gyZ5OaJ10v2d9i5tj9VpW8lbemGEErldk=; b=TntAuVYurzujoHPVx1ft70qm3OcO0aDh7udfFbO16eRUTTftAxd+0TPEhc9wiCuOuI zvQy+gjUouaBUHC4F893oxaOmv5ZED5XC0/iq5+v6hZdXhyGtEQc+yf4sCD3um4rscBc bmNMoaq9MgJCZ0+ox8i1WEBlRnIa5UWQq0uOvoNAWSF30feEGJhPfcLEe896RJlJLeRe GBbu4MZLHJ50Ef8ljJbwXtf6SBdaYRAw3wus2oKXIjOWq8ORMUlfkuTnB+mA49X1yONP rzz+/F15Yf7hBqpUro5qS+vdrNpB2UveI7i/qf6nsGPTduWQv0iYlb79jMKmq/7LZON2 VTZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=hYp5izHi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 22-20020a17090a1a1600b00277277fd2besi9058863pjk.190.2023.10.24.13.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 13:58:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=hYp5izHi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id DDD9D802B007; Tue, 24 Oct 2023 13:58:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344325AbjJXU6P (ORCPT + 27 others); Tue, 24 Oct 2023 16:58:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234934AbjJXU6I (ORCPT ); Tue, 24 Oct 2023 16:58:08 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29C2010D5; Tue, 24 Oct 2023 13:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1698181080; bh=Xdweg3kGxC1585nKQgRroNBfyEYqynm2VFZ72xrmPLA=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=hYp5izHi4ujX1ztvCr0xZ/BjPFo/fd0EaPo4YAKX0xsezn3z7hBiRGk6hp7KC+aK1 slRsBBQ3gcjpbJZO6pOoG1HU+ACDp2OnXwIBO+OUmDMa7d87OXpebJUylRCtp2rQC5 d7w9S1iDvlxDMaQMQQ5RsLK1C14Bmth166P8dFDo= From: Luca Weiss Date: Tue, 24 Oct 2023 22:57:49 +0200 Subject: [PATCH v2 1/3] dt-bindings: vendor-prefixes: document HTC Corporation MIME-Version: 1.0 Message-Id: <20231024-htc-memul-v2-1-8912940b6f95@z3ntu.xyz> References: <20231024-htc-memul-v2-0-8912940b6f95@z3ntu.xyz> In-Reply-To: <20231024-htc-memul-v2-0-8912940b6f95@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss , Krzysztof Kozlowski X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=852; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=Xdweg3kGxC1585nKQgRroNBfyEYqynm2VFZ72xrmPLA=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlOC/VcVEOs4MRayqgzipS1p22TAjFNc08+z2CM BiPVB1cdbOJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZTgv1QAKCRBy2EO4nU3X VmHQEADAvXCyS2uGmETYPzbQyz9wM97cnTm7RdST+Ldi090oIHvJq+wvSGFf0M3dDB5++wAjHFp Jd5Ck52K3WRSPGw9IrYbQTKGCf5zNb/XGltKI33i8KigS9v4cO9YMtBMy6F93T5pZS0kwKmyU/q VhTLVpjL/DEp+OV7iZCrqUsDRbuqsP9NOvod3n97Bioelphyqj4jR+GL4RlTLB/Ilve8T5qDY04 +LivQVUXUhnk170XFoP5g9TktDNfaQDfrICZ8aqgd+Lxf7hze7kD6iJg7WRMd7gxWde74V1DoUG xHHlc8IsHXga2RgLSupWPV6woDAz7pfw2RyrMTEkI4R5iXJddwMVA2G79uHhecvqlsGE6AlDkgW 3Ad/YfF2ADzGoyNTXfsJyFN1g+ogVG+JfsJCJHw6Tm47wQ2S+LgxNj87IVjMzfEehOgzGt3jmUi RfRmfEUc3ACytKmiUqci8NaFlNSGDfvBY5vp60M7E8BllQ0J0cFFjxP6liOQ07P6Vy7thdm4nb9 JZqh0goKj7FQnbhrzkn153ChjGyFurtIL1y29hKX/wlPjXT5zqHcuoYt9t6diehlyK+YUb27wEb dqIHyWECcqu0BmWho2qJqASMxncfgwwXkQ1WqEFhLYtL/H7lqLOrV76quaD0WTUovdEnHFPrFbj dZVajwdbKCDfSsw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 24 Oct 2023 13:58:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780671986676489743 X-GMAIL-MSGID: 1780671986676489743 Add the vendor prefix for HTC (https://www.htc.com/). Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 309b94c328c8..b752f8902367 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -597,6 +597,8 @@ patternProperties: description: Hewlett Packard Enterprise "^hsg,.*": description: HannStar Display Co. + "^htc,.*": + description: HTC Corporation "^huawei,.*": description: Huawei Technologies Co., Ltd. "^hugsun,.*": From patchwork Tue Oct 24 20:57:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 157693 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2199132vqx; Tue, 24 Oct 2023 13:59:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQiTc+z2y198MEznq8v8+mIh5nrlTJKpCpLfI2jZOAHJfZ6geB8d0DKwXQ7ah2TUe8WFGe X-Received: by 2002:a62:f20d:0:b0:68a:49bc:e0af with SMTP id m13-20020a62f20d000000b0068a49bce0afmr11740990pfh.1.1698181153980; Tue, 24 Oct 2023 13:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698181153; cv=none; d=google.com; s=arc-20160816; b=mhew/HXLZa6YRCC4bSFDjVeF+o4rJ+IjD1DjpvAfkgj+0gJAvRF03ZMcQj0xrjpgih 8E5vQWKF7NJhY8ZvcL32jKgAAoGchI0wN5WtHCg8KOhDoGj2rHnNXKGu7JSkdX7WTTRx BCSc5GVTY7jQofNhPwQwsPEsmpidWB46LukvG5iYXCmPGvD7isLmSXy7N2Y5K+4fVq56 mSKIL7tlDCS32+BjoQsW3H6wSsLztzoVdlKBGx6JhpReWk5jYEyCcehRZkIQwZCrOSQZ UkeW/ngOV/pdV8B9OQ1yk9eunccJCfJFP/t0N0ZY6ynWkNIWBfNwAVKJg3ymnrZB+XqA Y3qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=9gTWKzJ4xd288B7ivpXiND4GIc3UzPx/3tPt6yOGc4c=; fh=SxZEQPa7J6gyZ5OaJ10v2d9i5tj9VpW8lbemGEErldk=; b=bRRQ3Xbw/BOw/vbJEnJlqI8LealM0CAKBcLuUPXC6Yoj2hhRn9RsMiivhCcxIcA0JH v8/ojP05O9IyVOEimrtoNu0bvEoODPfqLfiN9HjcMfth7Ozpy0U5FWDH4QJLflIz4lK5 fbhZqYl5COyk1QYNBEFMsMMK3FOG/cyIU26HrnOTL21VIvkp6YmiZKRZolA6KRMhHxzL 3kSQrzbe2+nyRefgBp5aXPDbRsr7fRROMiibKPRfR2Ezy6li59ayQbCYjSDnbpV5RQ9T spbMF582KpVTr3ip3qxLQQmPXuNtbHDHvl19v5pE4B7MCbUA/fiDNQrN4m2Xt7IzqIHs L81w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=dzzxvIbA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bw2-20020a056a02048200b00578ae22988csi9551320pgb.327.2023.10.24.13.59.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 13:59:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=dzzxvIbA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A2D2A802B23F; Tue, 24 Oct 2023 13:59:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344426AbjJXU6q (ORCPT + 27 others); Tue, 24 Oct 2023 16:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344352AbjJXU6g (ORCPT ); Tue, 24 Oct 2023 16:58:36 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 055C710FA; Tue, 24 Oct 2023 13:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1698181080; bh=KK22/PFKiW+cdv+uyafrjwn6iM6Voz742G5RcEr3vVg=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=dzzxvIbA/FXuQdq5LGOymTPMYewK2604GPtCyPzp+/Zoztx7nD0vawm95ZZMQnMbC EI+VWKVJvfhKq+XnjNF7A+sxdLkfGixJYr/ldSWveTUU2rCYd5myid0gUIAWlIX8N1 n1YCjjz2gDJn/cUbkwewXvmgK1IgskifHeDwHFxM= From: Luca Weiss Date: Tue, 24 Oct 2023 22:57:50 +0200 Subject: [PATCH v2 2/3] dt-bindings: arm: qcom: Add HTC One Mini 2 MIME-Version: 1.0 Message-Id: <20231024-htc-memul-v2-2-8912940b6f95@z3ntu.xyz> References: <20231024-htc-memul-v2-0-8912940b6f95@z3ntu.xyz> In-Reply-To: <20231024-htc-memul-v2-0-8912940b6f95@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss , Krzysztof Kozlowski X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=768; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=KK22/PFKiW+cdv+uyafrjwn6iM6Voz742G5RcEr3vVg=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlOC/VTLLV5aRTe4d2Wbhl6v+xh9BSamJwXOSy3 YNQTt49oMaJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZTgv1QAKCRBy2EO4nU3X VqY2EADXm7ru3JRpMhGxOfSeKBgIgIvldXqzQiPwJ1+ArWJgtwS4VwlanCsMH2BqES/BwqdguHd lR60tZQ3SzpCE/YwSaAHbTKV2hiNgowEo5bTuaMjCCH2MugFBXZqMYppugmPFPOrmX5gZH2r4Ee LLdAZHzKNmE3nJSBW/DJNny04INRSy8VMvPsV1Q6Q93/fCeHswA8YGkzh2vpef5BIFu3l6sKBSu 9mUYRuENxVwyJLryeStnlIlhspHHJ/YT4VKxt17KINv9nT8BmzKlSZanTtkr5faKqws06qhqnw2 W0/OO9+wGyG3H6h81aAma52ZbtwsrTq01E/68iHrCNf25Kr/qaH1mtHTRR7xYqGajoR1hdVUYKx PdVj1fPFZTSmi5iGcLkCbMa4CKQrLj7ZwRQHbyh9vYFDcKVX6pHeaLzKkFDqcVMjt6bD6bwm8JY O+F8ehFkQEikgz0xog4Rlw0JNOYuSHxMaQkH3hcezsiEoKMU5mHsRS5ObTf4/aA08P68xqcnOXe O7jsUkFQqwfpcl9s6trwxSEhI2L2LeMAL26sAvNsAPTRMDznu3XPBb86nKjDGo40na1b1I5of37 OOTVrxduclqdxRkq9UqqpD8Woh3jJASDbHe/8wieTwWeKzbzkChhsQsLe+WMcoGCsRdgO/N4U8K qSt0rE9EZCAfrdg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 24 Oct 2023 13:59:10 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780672001840113297 X-GMAIL-MSGID: 1780672001840113297 Document the compatible for the MSM8926-based HTC One Mini 2 smartphone. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 88b84035e7b1..60605f2d237b 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -194,6 +194,7 @@ properties: - items: - enum: + - htc,memul - microsoft,superman-lte - microsoft,tesla - const: qcom,msm8926 From patchwork Tue Oct 24 20:57:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 157694 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2199188vqx; Tue, 24 Oct 2023 13:59:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGB6Afb1XqV3mFnFRhsgkofDsUv2jZezAitdGeAHrh1nRTbBdym1ED9tWiq6zC+BHh04GP8 X-Received: by 2002:a17:902:f381:b0:1c9:aac5:df30 with SMTP id f1-20020a170902f38100b001c9aac5df30mr11668887ple.66.1698181162055; Tue, 24 Oct 2023 13:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698181162; cv=none; d=google.com; s=arc-20160816; b=epO+r/mIzQ7tV/MQsENfY/rfHKGlkA9Q3Cy5MOqlxKNO8lc5hM0pRMXmMbyeJS2M0Y m3LgxEghazugVlQ9Ms5ooOxLOlBQJqPaVTYykHdezwxPMu4U1DbjJEVe9pd72levYn0j oQJCvlNuPFQoWO06++Zcz7GIRRGIuB6fTgGAFcGZEgL5k85QHVfU3FIZMDYauepmS9zr rt2gC5BbqGwbf2FSZf2OhJhN1wEF/24FRaWSdmKr51vnBwBQXyIszwhG1rTgVWRDT+fg pSSclQg20fH6isRIjmIfcqgzreBzElSfUUPWXmmrm8nRLq3GCLLbP0ByJNmUw+3b0/Hj DY4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=gf8N65Pi/sasmdEQ+oaqsz2kjjLQIILIGfNHpLlta8w=; fh=p/bg9NVpTiVjbBmm0OUDdw072NCVCLC8AJOG5FEIOhI=; b=smo0h8Jni+olPaz8EZCNF6CE9sRk1BALOXSp03oZen4CREiC6FEoM5CMV3TEkBCMpI K/TkLPcm7wq55fRfxWv5eRzBY0Lm/0RkQjbH+SaR1aZguT/Le9oVudxQb/pkaFKayP6A keXVu6GsrwwDvrmvVD/YpgVPXaiDD2bhm7XS0AYxlulxy+gMk+/BUFcP3IvFtWuHKL8Z /gB2cLu4TbTHnEQt4bRqkgryzbgn7S5lHAwte5/Mek8MlQZbSp8HccB7bG5Ax3LpTVsC wW1u9LIWv12heyI5HlBTNIX0kcq9d8LK+PJmThVyyhL41dkzlQXYKRDNqF9Wc0/ET0Rb Xt+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=MSuDUfYR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b5-20020a170902650500b001c9fb3b55f0si8649075plk.652.2023.10.24.13.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 13:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=MSuDUfYR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2711A802B017; Tue, 24 Oct 2023 13:59:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344361AbjJXU6S (ORCPT + 27 others); Tue, 24 Oct 2023 16:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232399AbjJXU6I (ORCPT ); Tue, 24 Oct 2023 16:58:08 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29AD710D4; Tue, 24 Oct 2023 13:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1698181080; bh=HyGxf3eRKKvaISqKeWweIM3LhQxTuZl10bQehGgtzJM=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=MSuDUfYRh/DfX77gHL6ExjXmqfNPLHafSU+X4ykM4DsAeTwwRHp6mjMrlOS9S3hAF WgPPKXHM9mzUxmtZjARclO6RChtyCvSZRSt73bByWKia0vmaypqXGac987Q+QWiERD KM3dM2difxRxkzgbVR1vymzGX6KPhIoM4Je8isXk= From: Luca Weiss Date: Tue, 24 Oct 2023 22:57:51 +0200 Subject: [PATCH v2 3/3] ARM: dts: qcom: Add support for HTC One Mini 2 MIME-Version: 1.0 Message-Id: <20231024-htc-memul-v2-3-8912940b6f95@z3ntu.xyz> References: <20231024-htc-memul-v2-0-8912940b6f95@z3ntu.xyz> In-Reply-To: <20231024-htc-memul-v2-0-8912940b6f95@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=8772; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=HyGxf3eRKKvaISqKeWweIM3LhQxTuZl10bQehGgtzJM=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlOC/Wh0ui/RP3c8lmngF/I880bIFZ8BUXnZRUO IP9uJhLXeKJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZTgv1gAKCRBy2EO4nU3X Vng1EAC3xGEQ+hwiVmFnS6J9pkFGZpVwWTuyQeHT4Ojcck0PUcxz4y30QlZ03kHEYNX5wNZv23B cIJmxSAN/+dG7ILOHSUjVgc63kzKFFjjPuzpn5rLwVht3Mj5kTReZgZe9KdbTu7tVzcQo88OoSl YTureMARD+I0V7/bZw7LQ0PWeNmwI7ye13QRUeprpBgdrMWilGfDRgHsbSB0I4XPawDoozWAfTB dt98T+pul1LVGNa9KIIkdBgGIpTrr0ym7AODrygC12wbizkt9A2c2t050usjVp60aEEwl8nBjQp RaxU8MWwdc/vWJMxMOQg75bRw+RfyZ/wXccRaeSb2BF+9+I/r9MVSs3ShFB9RyC48udcBWfp0yN wgo5VYRsmgafIZkjkJ6espMftf/DX/dOhNh3CUg1IEFPO1xLTMC//j5sfpRaTBACCoDs9kyQkvr TcV9f2fEvsX/7yBSJRaY/TWtccVNJmkTmlFk3LInF+PpZqRF8ngpZYrrIQSRYJdPtGS6Dsy5+i6 EyDcn1/1zpPi6HYhaHqxVYKpChDx+c3iW0ziBfai+WNAVGxMtEKSTqQ1J6zs+oXGAIcVn2tGzug G6M7MGxPwwOqDFSh1tMD3+ifcu7yT+rfxMNvwGWsupZA4ZupFlOzULKm5/gY8SNo9PeHGpfWXP+ oXmc6TSOCRq7zNg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 24 Oct 2023 13:59:19 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780672010396974308 X-GMAIL-MSGID: 1780672010396974308 Add support for this smartphone based on the MSM8926 SoC, codenamed "memul". Supported functionality: * Power & volume buttons * ADSP * Magnetometer * Accelerometer * Touchscreen * Vibrator * SD card * Charger * USB Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/Makefile | 1 + arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts | 369 ++++++++++++++++++++++ 2 files changed, 370 insertions(+) diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index a3d293e40820..0cb272f4fa45 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-e7.dtb \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-serranove.dtb \ + qcom-msm8926-htc-memul.dtb \ qcom-msm8926-microsoft-superman-lte.dtb \ qcom-msm8926-microsoft-tesla.dtb \ qcom-msm8960-cdp.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts b/arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts new file mode 100644 index 000000000000..e4b0eaf101ff --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts @@ -0,0 +1,369 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Luca Weiss + */ + +/dts-v1/; + +#include "qcom-msm8226.dtsi" +#include "qcom-pm8226.dtsi" + +/delete-node/ &adsp_region; +/delete-node/ &smem_region; + +/ { + model = "HTC One Mini 2"; + compatible = "htc,memul", "qcom,msm8926", "qcom,msm8226"; + chassis-type = "handset"; + + aliases { + mmc1 = &sdhc_2; /* SDC2 SD card slot */ + }; + + gpio-keys { + compatible = "gpio-keys"; + + key-power { + label = "Power"; + gpios = <&tlmm 106 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + + key-volume-down { + label = "Volume Down"; + gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + + key-volume-up { + label = "Volume Up"; + gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + }; + + reserved-memory { + unknown@5b00000 { + reg = <0x05b00000 0x200000>; + no-map; + }; + + unknown@7500000 { + reg = <0x07500000 0xb00000>; + no-map; + }; + + mpss_region: mpss@8000000 { + reg = <0x08000000 0x4f00000>; + no-map; + }; + + unknown@cf00000 { + reg = <0x0cf00000 0x200000>; + no-map; + }; + + mba_region: mba@d100000 { + reg = <0x0d100000 0x3a000>; + no-map; + }; + + unknown@d13a000 { + reg = <0x0d13a000 0xc6000>; + no-map; + }; + + wcnss_region: wcnss@d200000 { + reg = <0x0d200000 0x650000>; + no-map; + }; + + unknown@d850000 { + reg = <0x0d850000 0x3b0000>; + no-map; + }; + + adsp_region: adsp@dc00000 { + reg = <0x0dc00000 0x1400000>; + no-map; + }; + + unknown@f000000 { + reg = <0x0f000000 0x500000>; + no-map; + }; + + venus_region: venus@f500000 { + reg = <0x0f500000 0x500000>; + no-map; + }; + + smem_region: smem@fa00000 { + reg = <0x0fa00000 0x100000>; + no-map; + }; + + unknown@fb00000 { + reg = <0x0fb00000 0x1b00000>; + no-map; + }; + }; +}; + +&adsp { + firmware-name = "qcom/msm8926/memul/adsp.mbn"; + status = "okay"; +}; + +&blsp1_i2c2 { + status = "okay"; + + magnetometer@d { + compatible = "asahi-kasei,ak8963"; + reg = <0x0d>; + interrupts-extended = <&tlmm 66 IRQ_TYPE_EDGE_RISING>; + vdd-supply = <&pm8226_l19>; + vid-supply = <&pm8226_l28>; + }; + + accelerometer@18 { + compatible = "bosch,bma250e"; + reg = <0x18>; + interrupts-extended = <&tlmm 63 IRQ_TYPE_EDGE_RISING>; + vdd-supply = <&pm8226_l19>; + vddio-supply = <&pm8226_l28>; + }; +}; + +&blsp1_i2c4 { + status = "okay"; + + /* TFA9887 @ 34 */ + /* TFA9887 @ 35 */ +}; + +&blsp1_i2c5 { + status = "okay"; + + touchscreen@20 { + compatible = "syna,rmi4-i2c"; + reg = <0x20>; + + interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&pm8226_l19>; + + syna,startup-delay-ms = <160>; + + #address-cells = <1>; + #size-cells = <0>; + + rmi4-f01@1 { + reg = <0x1>; + syna,nosleep-mode = <1>; + }; + + rmi4-f12@12 { + reg = <0x12>; + syna,sensor-type = <1>; + }; + }; +}; + +&blsp1_i2c6 { + status = "okay"; + + /* NCP6924 Camera Regulators @ 10 */ + /* PN544 NFC @ 28 */ + /* TPS61310 Flash/Torch @ 33 */ +}; + +&pm8226_vib { + status = "okay"; +}; + +&rpm_requests { + regulators { + compatible = "qcom,rpm-pm8226-regulators"; + + pm8226_s3: s3 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1350000>; + }; + + pm8226_s4: s4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2200000>; + }; + + pm8226_s5: s5 { + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <1150000>; + }; + + pm8226_l1: l1 { + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + }; + + pm8226_l2: l2 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + pm8226_l3: l3 { + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1337500>; + }; + + pm8226_l4: l4 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + pm8226_l5: l5 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + pm8226_l6: l6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_l7: l7 { + regulator-min-microvolt = <1850000>; + regulator-max-microvolt = <1850000>; + }; + + pm8226_l8: l8 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_l9: l9 { + regulator-min-microvolt = <2050000>; + regulator-max-microvolt = <2050000>; + }; + + pm8226_l10: l10 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_l12: l12 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_l14: l14 { + regulator-min-microvolt = <2750000>; + regulator-max-microvolt = <2750000>; + }; + + pm8226_l15: l15 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + }; + + pm8226_l16: l16 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3350000>; + }; + + pm8226_l17: l17 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + }; + + pm8226_l18: l18 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + }; + + pm8226_l19: l19 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; + + pm8226_l20: l20 { + regulator-min-microvolt = <3075000>; + regulator-max-microvolt = <3075000>; + }; + + pm8226_l21: l21 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + }; + + pm8226_l22: l22 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + }; + + pm8226_l23: l23 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3000000>; + }; + + pm8226_l24: l24 { + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1350000>; + }; + + pm8226_l25: l25 { + regulator-min-microvolt = <1775000>; + regulator-max-microvolt = <2125000>; + }; + + pm8226_l26: l26 { + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + }; + + pm8226_l27: l27 { + regulator-min-microvolt = <2050000>; + regulator-max-microvolt = <2050000>; + }; + + pm8226_l28: l28 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + pm8226_lvs1: lvs1 {}; + }; +}; + +&sdhc_2 { + vmmc-supply = <&pm8226_l18>; + vqmmc-supply = <&pm8226_l21>; + + bus-width = <4>; + cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; + + status = "okay"; +}; + +&smbb { + qcom,fast-charge-safe-current = <1750000>; + qcom,fast-charge-current-limit = <1750000>; + qcom,fast-charge-safe-voltage = <4360000>; + qcom,fast-charge-high-threshold-voltage = <4350000>; + qcom,auto-recharge-threshold-voltage = <4300000>; + qcom,minimum-input-voltage = <4300000>; +}; + +&usb { + extcon = <&smbb>; + dr_mode = "peripheral"; + status = "okay"; +}; + +&usb_hs_phy { + extcon = <&smbb>; + v1p8-supply = <&pm8226_l10>; + v3p3-supply = <&pm8226_l20>; +};