From patchwork Wed Oct 11 17:02:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 151481 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp683796vqb; Wed, 11 Oct 2023 10:03:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+JZJLYDAqlVn5c8qXOb2U3xsQBL8JfR5wS8GYbv8yZjhPG9hA1EHd9pIcN5Hh9rSc26AS X-Received: by 2002:a17:902:ce84:b0:1c6:9312:187 with SMTP id f4-20020a170902ce8400b001c693120187mr23939817plg.3.1697043790806; Wed, 11 Oct 2023 10:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697043790; cv=none; d=google.com; s=arc-20160816; b=gmEpLlII3ACqwEThOBXJq1hH9HopMCHpW8vv/KiKEnUzo1U6AbOyVU2m/aUzumngyW 1H9xNpix5OwT4z06OJXDYIFjt3KGjXVj6b95H8m8xikSQJPw6RFO6f/lhGQXWk3/2jvo 9eaFID9SyVNlfKC05L2oVy5XZbuemt87ZrMi4kaG2bd4De2dKm+wbBRGqQ97Y+5vNbEz sLl1tHoW8J8KKJ2TxHWXEDHv4Ue2RiXyHfmy9RnOaFIOS9oQt6KjZTf85ovqmvbTCWPz Z+n2/HtuD8JeLwUH0Q/KyPeuxFHiFC+WyA1wGnK129go9tzQQ1uDpV+BV1UcO2F9mNLE poQw== 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=jdHOgcnSoznAttd6FkQ0HzuKwh0ck73vxMccpDucpbw=; fh=p/bg9NVpTiVjbBmm0OUDdw072NCVCLC8AJOG5FEIOhI=; b=qGpj8Vu35OBFaiM5N9ZQKgR0Ptszl1dtWAzrFTl0Jl2MZL47Wzd0BoCioC7u57jrzR yVy3azV5PiHjZ2NvsN7wxUec8XuECagEfI7RV2yUlqx3lNEdKrfewTKxJZG5JP+fx4Sy FZbtNhkUIV2byGm3IQFRBWA5+vmZEovMnW4RBcyIfxMMsxiC4riSKAwr+6BHXUL9lQki X2e38S7nltiX47x7T5tFp0XSsP3kKoJO582veMTRgu8u+tkgpCkhnpFwzMgsQcrM9FHV 6Gqit8s7jcnlrG98YYR+ofJQiVvXTWnXLKtMFmtcFETiHGD4y89aAdp1tILYbZZnEz0o mwEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=UFJ4z8el; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 9-20020a170902c14900b001c9b258508dsi114526plj.248.2023.10.11.10.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 10:03:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=UFJ4z8el; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id BE92380FD3B8; Wed, 11 Oct 2023 10:03:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346967AbjJKRCn (ORCPT + 18 others); Wed, 11 Oct 2023 13:02:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232975AbjJKRCi (ORCPT ); Wed, 11 Oct 2023 13:02:38 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 085449D; Wed, 11 Oct 2023 10:02:36 -0700 (PDT) Received: from [192.168.178.23] (k10064.upc-k.chello.nl [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 60F89C88FD; Wed, 11 Oct 2023 17:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697043754; bh=yoZyGjULPrJB/ushmKyYZ0a6kfi9O0JULyRgzUBtrnI=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=UFJ4z8elzVnZnYya3NYMvOUlEECDu8M0MTrOPhvGk1is+IPp4vLK8xeqPbwpk1UwV ngSsamtekJeOp4uMCFvbRyqZb4pa2ZXwz6r1NlBcLreWVSiaplUfTdKy/rHjhFdaLw lIaSvFP5RkNQHYLyOeqv48OLLRIwh+1TIEVsIuDA= From: Luca Weiss Date: Wed, 11 Oct 2023 19:02:24 +0200 Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: document HTC Corporation MIME-Version: 1.0 Message-Id: <20231011-htc-memul-v1-1-76e57873190c@z3ntu.xyz> References: <20231011-htc-memul-v1-0-76e57873190c@z3ntu.xyz> In-Reply-To: <20231011-htc-memul-v1-0-76e57873190c@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=788; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=yoZyGjULPrJB/ushmKyYZ0a6kfi9O0JULyRgzUBtrnI=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlJtUnAWlwQp5TJVE7pltEJJz+599niNgRc4/ck b2et2Yqu6iJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSbVJwAKCRBy2EO4nU3X Vv2dEADPQ3UGNYOLRBKWy+Ev13f6tZ5Wy4Dx5BjqmnX5bb5tG+kcPh/DFX0vX5uKahPCPJYIMa7 0EM/yP5mbwkcTKvZ+YTW5hNPnw3jKlayc5tFbAbnHUS219DADAxj1Aob+93g0aUpwZl3sxaJ8sA E6f0Zu7zeq0NxMkntnlkQP0nJt/3aGLzIFSPnwHnK4ESWMtwPBbqRYOZiM34fFRRydvEtnQU7xr hIJGADrII/dC06eYfnGKW0oTRIOKSW1nRTvYJW+qzl0bkJpYf4mDcQeSGfUQ7JtncRbxTWInU/E KyGo8Xyrz4BCjiGRcAY3OIwFcfI7oBSq28fLXkUcSpt2imqjgnlMET6umKhTyWvQNzUXygzdJUy MV0qnsQRTsz7D5lboNCQPTjZTJtQw8LHefoSTqK9UPG5HDIVTt8l0IN1k7lsVbV3GAlSbx7rkxL hJiickGVQaYjPz6IWgkpgOkNIDmLiYdzxW/y3gWZyhEm2PhUgGukCr+2HlNS9uVt/Cy6RSfCro4 eDSFjuesIfUqecoIR2PqBi7EV+U+YGZJJaujhgTCWb381uA14mXhQC14R+G5+PR+76NVygWnPMr pKJn0mYFPxn/hUpiLpd4jyka6dYQGNHDVOVHN4xmhnRHUVfyu4aa/b6zuXuJfYQPS0qgqQjlro5 6jtnx595PW4VMOw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 11 Oct 2023 10:03:05 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779479389849397635 X-GMAIL-MSGID: 1779479389849397635 Add the vendor prefix for HTC (https://www.htc.com/). Signed-off-by: Luca Weiss Acked-by: Krzysztof Kozlowski --- 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 573578db9509..9fddc274ce76 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -583,6 +583,8 @@ patternProperties: description: Hewlett Packard Enterprise "^hsg,.*": description: HannStar Display Co. + "^htc,.*": + description: HTC Corporation "^huawei,.*": description: Huawei Technologies Co., Ltd. "^hugsun,.*": From patchwork Wed Oct 11 17:02:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 151479 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp683707vqb; Wed, 11 Oct 2023 10:03:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdmZpAvc6h+MqEHO0AtMwjuiywonWGlvoGGDJiUFWa2jCd2hjXnzO07tsG1nf+Oxx7P3Ol X-Received: by 2002:a17:902:dac8:b0:1bf:1a9e:85f7 with SMTP id q8-20020a170902dac800b001bf1a9e85f7mr24855340plx.1.1697043786338; Wed, 11 Oct 2023 10:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697043786; cv=none; d=google.com; s=arc-20160816; b=eMch+wlwcqv/APk/aGyGUb886rm3qYfDllGmbk4NYBS9LQI2d/zsHYGy6N3s6ICtv7 f4EeSgmZUsNYdmuiFP7XUbgBmqWhT3QY99hBG52dUdOpdG5Rp0rA75aYVENSL8hN8RNX E3sxmd8Ug84sgjTQlMI/LCAXS4ufyTWyzxJjg+3iDJ//NgwurcS1C5S6ShrTaIoGp3jm bXJpUJkmquasWCsWprBOwmTfqaA4EeQ2imdGIuq9dhKmsMolwKNmq3ss4lUWQey3ZMRz 0e9ucmK2wVg88m43C/9MnryJa6jLe+RmPI1x+TXIemDjk2MZOEPEG1r/JXMKdpEna4/T p1eg== 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=f92jQEmkO2835ryaQwr6AQ1YYLsSl8aa1kixKJ+lEFg=; fh=p/bg9NVpTiVjbBmm0OUDdw072NCVCLC8AJOG5FEIOhI=; b=KODEq/Q+XAkUqLM9p4qVqoNfTiS+rWHoUJeF1/pWqSDEoBSxszd/wkgr+0WfdZNN1H QGKukcmmFuPJNv4philrGHh4KgHbRBX9NBhUVUcDqHuouXz0lDSksLsjJISz8UITXO4D o2xzjRv8jOuUVrOuRnOrm2qLXgP6rz7jjoW0OptHoAy4H2mz+t71Sy0nuw413S1boEkP Z9w/jGYr1JXMhfzZVlNoZlkctUMyPpMprsXrX+wkPjGF1RlJt5Fbsiaq1cC2K1/Gj2Jh BR8HkmPnM9wofIHLQ393zgiUrECo4Iigm0H1fO+2v+rZhWQ/26P48NbgkLyce0qsyJOz Q69A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=OPNovH83; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s18-20020a170902b19200b001c6095fc6dcsi93763plr.598.2023.10.11.10.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 10:03:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=OPNovH83; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 5DD448135D67; Wed, 11 Oct 2023 10:03:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346866AbjJKRCl (ORCPT + 18 others); Wed, 11 Oct 2023 13:02:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233051AbjJKRCi (ORCPT ); Wed, 11 Oct 2023 13:02:38 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C4D0A4; Wed, 11 Oct 2023 10:02:36 -0700 (PDT) Received: from [192.168.178.23] (k10064.upc-k.chello.nl [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 91595C8910; Wed, 11 Oct 2023 17:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697043754; bh=wWDTX8e5KM6wfhYspOStX6JRz8pBMYK5n8PtCv39+Zs=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=OPNovH839seUgQerLIWX/NZpue8kvK1fpcfBSTpgAKwYu0rw7ZLiXYgJ8ABEPmcqW 395bANmZiTcwIZQmC5VOvCDcDShFcdch476LEtIjDaXK++QJw/kcTZQUX1Wcx7zOsX W40W4jGGMvCJGBXZ7RYCALT8jWA5o8j+hnrTgH2g= From: Luca Weiss Date: Wed, 11 Oct 2023 19:02:25 +0200 Subject: [PATCH 2/3] dt-bindings: arm: qcom: Add HTC One Mini 2 MIME-Version: 1.0 Message-Id: <20231011-htc-memul-v1-2-76e57873190c@z3ntu.xyz> References: <20231011-htc-memul-v1-0-76e57873190c@z3ntu.xyz> In-Reply-To: <20231011-htc-memul-v1-0-76e57873190c@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=704; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=wWDTX8e5KM6wfhYspOStX6JRz8pBMYK5n8PtCv39+Zs=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlJtUo3djfUJ6BEARFA7A2JwBWfbjGRITMqnUwq 50KZiTr/HuJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSbVKAAKCRBy2EO4nU3X Vp+mEACQymouEeaIUKbTt99esZu0tiqcqo5hQAfQEP2dzVez/IVZzQ4YrkVVISyq1LZIWh8YfSI A5duv0jGxPR+VG4zSpJftvOaJF0/n1ANQQRHEDjRKvp00dIz8H01Nmmw6cukMnfShP5NHTzqO+0 e4mUeRcXk4Bnm1p1TThDgAD99XWzzMxb9QlnLFs5Uno8HJZCxnUGbLr3mnB79Rnd0Xva5tB78XM BgbjHzoQSzTA7dSkY9RvLojtkR605C9PqE3Ld2J0miuvz6sCf81q+cTW9mrhdoXAGhRhieZffS/ LHwQfJ8IeZdszbBaK77q6DGOWeiGYFkB9thOZ0ml0m9gYcaogj3p4euL6/25gBGUdAPgNLuNtZ5 qpjO7pMGi7Gw/Vv0S3WRJ76cQ4G9e0jenjr2apsyNl2FXhA8ppUtYBB6I4dR7BE9fAKPGcNrRD7 SD8IpeCRmgDRpaoXAvX/sI7q7sMeGV3DuKzJI6kvlV1yBsNUiMAMkJWknrb0xosrOp9pI898iYF HtGj4zGEuolwOP56dytisM9Y5FNRGhkxPsj038SoAb6TAZrfH7dzncrSTtnRAggJN2xojXqN/Ok 0Dj3pleFU3ptMcdyPEha508rE9okPpVRjl681dps1YR71wbjTyUxIQSNsGcvFnzRNm7Ocfx5M95 +dCaUM+lxO1OFzQ== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 11 Oct 2023 10:03:04 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779479385548284237 X-GMAIL-MSGID: 1779479385548284237 Document the compatible for the MSM8926-based HTC One Mini 2 smartphone. Signed-off-by: Luca Weiss Acked-by: Krzysztof Kozlowski --- 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 2a607b1595c9..1b7f094aa100 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -192,6 +192,7 @@ properties: - items: - enum: + - htc,memul - microsoft,superman-lte - microsoft,tesla - const: qcom,msm8926 From patchwork Wed Oct 11 17:02:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 151480 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp683767vqb; Wed, 11 Oct 2023 10:03:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8xzuPpkG8gRsdmqgyGFVpO3tdm0XkyX+4oC/En8aCwNkmbtNms7PbnpF54S7HFaYI/yKO X-Received: by 2002:a92:db4f:0:b0:34e:2a69:883c with SMTP id w15-20020a92db4f000000b0034e2a69883cmr21677994ilq.1.1697043789598; Wed, 11 Oct 2023 10:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697043789; cv=none; d=google.com; s=arc-20160816; b=P0jKzUAVJdB85BcGmuS2INT7uCXcPeAyxB3uUlRtaVk6LydbI8y9pjkMYbCc6ir1Oz 8xhJpLCH4wLlbh3g7OsOs+vnAea49SkFhq9r/uQZbG8p/vMkckxFqUIbbFdfweX6q//X 8/1kADwNLv/Lf1dAqdcrSG7Zh4IkMo1z/u+VJBK4toPGpGK8ou7Wjd1UKNo0/d4n57XC 99f26jHmB4BTnJBUXs5M9vdGlt+TaTuH4SZsr8VKIzpQZnBt8AbEMfO2QYxtNbBGZo9T TruOPa51u/dDMK26fMuINjq4PNuZkxZhbzr6zE5ma39Kos2tJrzD4v/7ok+eW7omb7xP 7XWg== 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=ygZkWOtfJ5vYw8kr07G0Vyn4u2jbC5M9NUAWo9KUZ64=; fh=p/bg9NVpTiVjbBmm0OUDdw072NCVCLC8AJOG5FEIOhI=; b=f+TZfSTJtxUNNYrIPDC7Ann3TafgEbBka3nsdLbPlZ2lZvre0WwQizlWW/xf+unc1U VPJpGROW7hjsTCKLzIPhMqi3PNJgBfdP7cfr5vXGSSfdnaIHkMtZceIr7nYgwCoo1GAi xHsp8MG6Buho30GE4DAZMIcicnYzLpc7ByRo5UhVRbyifQfuxLjB3R6K97Lg35txDFFm 5LfXnIPUFOOkvHU/Dap0BqNzj2XdpUGF34mnI6ukIi9xsV3PoEnpq5hzGbjK0Ve6mRo9 7DhS85bPK08YxnGFoTLwYqG1om4TbBLo+kgw/9FxLSCP1uRQvMonWD4o+SFmZTnGUQy/ d40Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=BmRG3u7t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s6-20020a056a0008c600b0068fb95e5401si13138417pfu.65.2023.10.11.10.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 10:03:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=BmRG3u7t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 0ED7C810AF43; Wed, 11 Oct 2023 10:03:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346971AbjJKRCq (ORCPT + 18 others); Wed, 11 Oct 2023 13:02:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235118AbjJKRCj (ORCPT ); Wed, 11 Oct 2023 13:02:39 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FF67A9; Wed, 11 Oct 2023 10:02:36 -0700 (PDT) Received: from [192.168.178.23] (k10064.upc-k.chello.nl [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id BD866CD2DE; Wed, 11 Oct 2023 17:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697043754; bh=4GlqhnwSoaVCgskZeWkPIYoAERkqBHFpwH+J17IutXI=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=BmRG3u7tELmvd8FbF3wZZuozjjSvrXOh12tGqRV80/TQOwA8/gD/QYbVFFVGIhMOF 5UltiGbG+e4kHtfSrtq7vEFJaKq9qxyPXdDip85gAdCEAmF3tOLsYGh+AElixqxmxd FVv0DpVx9p6FaglO88Y4QkguSMYUpsVcfp+cGe4I= From: Luca Weiss Date: Wed, 11 Oct 2023 19:02:26 +0200 Subject: [PATCH 3/3] ARM: dts: qcom: Add support for HTC One Mini 2 MIME-Version: 1.0 Message-Id: <20231011-htc-memul-v1-3-76e57873190c@z3ntu.xyz> References: <20231011-htc-memul-v1-0-76e57873190c@z3ntu.xyz> In-Reply-To: <20231011-htc-memul-v1-0-76e57873190c@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=8613; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=4GlqhnwSoaVCgskZeWkPIYoAERkqBHFpwH+J17IutXI=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlJtUpThPulKXOlf5jfQvrE9vPxaIBhXhFsXs+w JUeJVSuQ0qJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSbVKQAKCRBy2EO4nU3X VkynD/9lHg8ix40KTMOoP9MIo/u5TwsZwkEM9BqmDtZ/u6YHA3H/+VCZnWC4V6MNljijO0Zn6T+ L8uieixhVVp6u1ShUXL/Dt1XuCDQjavBFE+bCwFy/tFYiiFeZmuN7wd9ecSHwQG0hthjSQgVMoU Gj6sk0KCCQGMkDJ6XU88+MCiG3QsZCR77TCW0GKiHw6MndwuO1W/ZUpFy/llMXaOjJ1vlznOXuw Dpcm+9T/qs96dTDEgxt1Mml2BFm1rmL9bw6nEkFdk5Btnx3mMdgiOuBVNr0JgiYylI+ojgT4ks9 8UkuOHd6WdBjuYje4uGs0ayAUF0L6kpzv+azxMBHUQ0D+FmSO/cAoisP9f3onPMI1jcBWWgB2MP YK14/SnOLB9zs71kOq7SVUgEg1vHtrzvMvCPBjiqHXOaNon1jfX16Qg+HqyoZVOy1PjlgB+GX9F G8+AC3Z24qwqp+6B6ziqPXMI/cRtGh5ZNuIYlYTB4yc/pSfmfeVu/isYjPZBWDRGTrTPzfeIAEN m3u1WAKjwGY9cH8lCPMKz8zBXUfTDaRwkO3o3okrhag60k7eIbkK7Bjd7OuLuR5hYyQ+vJ4QxFD 6HUrPSfNSrI/cIgI3izIG3oisvvVq8phy11toBQmoZ8pFSJ4x3IsqPsREdY8DToA0i/zapJC/5n cXTqxTfM5RWmRoQ== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 11 Oct 2023 10:03:06 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779479388651656981 X-GMAIL-MSGID: 1779479388651656981 Add support for this smartphone based on the MSM8926 SoC, codenamed "memul". Supported functionality: * Power & volume buttons * ADSP * Magnetometer * Accelerometer * Touchscreen * Vibrator * Internal storage * SD card * Charger * USB Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/Makefile | 1 + arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts | 337 ++++++++++++++++++++++ 2 files changed, 338 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..b848f0cce3b4 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts @@ -0,0 +1,337 @@ +// 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 { + mmc0 = &sdhc_1; /* SDC1 eMMC slot */ + 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@7a00000 { + reg = <0x07a00000 0x100000>; + 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; + }; + + wcnss_region: wcnss@d200000 { + reg = <0x0d200000 0x650000>; + no-map; + }; + + adsp_region: adsp@dc00000 { + reg = <0x0dc00000 0x1400000>; + no-map; + }; + + venus_region: venus@f500000 { + reg = <0x0f500000 0x500000>; + no-map; + }; + + smem_region: smem@fa00000 { + reg = <0x0fa00000 0x100000>; + no-map; + }; + + unknown@fc00000 { + reg = <0x0fc00000 0xa00000>; + no-map; + }; + }; +}; + +&adsp { + 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_1 { + vmmc-supply = <&pm8226_l17>; + vqmmc-supply = <&pm8226_l6>; + + bus-width = <8>; + non-removable; + + status = "okay"; +}; + +&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>; +};