Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2146549rda; Tue, 24 Oct 2023 13:59:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfDoJBXHE14HTzl0vcjN7E0wIZdMrvch6QkSmvNI6rDzg+JjcZPdFt4JqK61XNMYiZqWI1 X-Received: by 2002:a05:6a20:7349:b0:149:122b:6330 with SMTP id v9-20020a056a20734900b00149122b6330mr4546176pzc.10.1698181140386; Tue, 24 Oct 2023 13:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698181140; cv=none; d=google.com; s=arc-20160816; b=d9bElBn2fr7CTrxgK+dGHj1PcHlcf/5UAVL7eVefSKICGFJHrz/GxxBvs2seo9XTot SIgZK7rW3X00Syl8OxhrlIUjl5L94o9bmAQYjPaoMk1gf6IStv8UQHs9iJBGHzSRPPBp kDbdHAz5ocTaNIbfgRTRLWyW13dNZDxM3Rngq09ZGYtElGlsHft5JUk6hPc0DGxN1knS HwFueu/HZjpwi0PtOvyd5rBg2Bb3rdvLbz8FFFv1guQCBucoD7OVOYgw3/FiwVCMfpEu R85hX0neE4+RJIku0lyBPT8o+L3FKggWPIeKWcJ7Ji+Ei9W0pg4ro6r2V5FFvda6agHC CipQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=dnVfKWpBtXsQU0CWcUwcSYsreRd3jQPAAg2HZaDA294=; fh=SxZEQPa7J6gyZ5OaJ10v2d9i5tj9VpW8lbemGEErldk=; b=nnb+zLarHM7ZINjbGe5K5ifCipq6imuAAqbjYLyyul4nS2OUT1aHaKm9wvhPj60HZg /Mbm8N05hhF2uWujXFV/4Zix9/hMh7R2bGSRgh+RPYVgbyi+SMBHVdAKrE1FxCBwm1h+ aSZUZwO29appce37N5F9UGxo/fbW9xnxm90+I47zd2xUW7Oo0xeIgbPaE97qVGLQ19AG XqAYNmN+VlBX/lm36l935ZAK7EyDcDYatXwHTdByx9XJIAJRmvSEj4DXnoBjUWlgUoKy qdmGhAwIzOaAd/507kdc+W4Es1YyPC6GlJkVhN4IXf5YaGnOSLqiBiFnAJgia+xQDxNP Arlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=TUFQXnVz; 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 Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id fi2-20020a056a00398200b006910070695fsi9071041pfb.31.2023.10.24.13.59.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 13:59:00 -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=TUFQXnVz; 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 E25F780B6C35; Tue, 24 Oct 2023 13:58:56 -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 S234968AbjJXU6j (ORCPT + 99 others); Tue, 24 Oct 2023 16:58:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344278AbjJXU6f (ORCPT ); Tue, 24 Oct 2023 16:58:35 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE0CB10E4; 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=N0PLZ2NjQzjfPEsssiVQ2t7E5m+w3JYFmXuWa41WrYY=; h=From:Subject:Date:To:Cc; b=TUFQXnVzD6Dni3IP7Pf15z+o0ZYyI1I1G0dxOoj7D4uNuw3nB/4C6Ss/Gh/KURqBn R6cRbJFQYczrLnT3HEO6D7bO3zqver1o4GUJR/R/RKHaRc++yUfwuiEHLke1V0WrNR XgkgGI02oQcnX7V6k8GyyVhAvZtATSOBdQzus54Y= From: Luca Weiss Subject: [PATCH v2 0/3] Add support for HTC One Mini 2 smartphone Date: Tue, 24 Oct 2023 22:57:48 +0200 Message-Id: <20231024-htc-memul-v2-0-8912940b6f95@z3ntu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMwvOGUC/3XMyw6CMBCF4VchXVsz04KlrnwPwwLLIE3kkhYIl /DuFuKCjct/MudbmSdnybN7tDJHo/W2bUKIS8RMlTdv4rYIzQQIiQCCV73hNdXDh6tY5GmCqhD xi4X/zlFpp8N6ZqEr6/vWzQc94n79KYgnZUQOXCsjNUKZQq4fi2z64TrNy47+W6gbJSpVEjWY0 yLbtu0LVHyjltQAAAA= 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=1541; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=N0PLZ2NjQzjfPEsssiVQ2t7E5m+w3JYFmXuWa41WrYY=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlOC/NyjsDx1WKALpi6WpjAKQmizfieMow4aOhj 7QB4qGINBOJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZTgvzQAKCRBy2EO4nU3X Vn0gD/9Rlb1cX26i5VZcC+j8G/B8ejbBrquzxcmivLe8iiCxR2QddAGYvOqacR+vtDG4jhHafdU ZCnFUMmbnfVD2SVqkQvSZ8Fx7KQZpnv/4bR1o91X6vyXSXm06ozymmxuVPIVXAEtBwMU2Ulb8a3 +U8DgnN5EcnOollP0joawfHAd/GXeX6MKmB12VnetdqVKTqsremGyLcJ4KYHawGis+RRafTSWlT oJ+WLqnzLhhnriLbzi2q3AabTmz0SwNFn49Yibo+VZK20dKXplA+sF4Ojfq7U4t6eaCWFVCm6+Z EoG4z9A1R682yccs4YnRIcQuxP+RLEYc0VkP5bXH9zYu/bWJK1LcmYMAu6eLa80J1CHdi6JqbCn Kh9k4mwlyRo/osTE0T+Yiqu5nU2MxK4tnHwM/jFTMJjvR5k//o6gfzf2/aXN8a/5oNegbxZG3q1 R181LFlXYQd0+nJ5n/BOEY8ub6kwbVzl3pbCFAmOFHLmxamesYnT8TwpSFoZ8FVQkDKpGC26J+Q 3RJ6ctKRgN/WLpUt2aNKZeyuOl2NGot170+mlAOoL5VW6Lk7y6bfmo1x0BEpQOCzo6ddEyFmdiv H2FxXKyuVBCsMI/JrXKxFn872lNde4ngqoXKPSuIFQ8p64fwfoWw6UUKvydqcAguU10hD+ciFtx 7D9GGKSkliXtUMw== 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 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]); Tue, 24 Oct 2023 13:58:57 -0700 (PDT) Add support for this smartphone from HTC which is based on the MSM8926 SoC and codenamed "memul". Depends on, runtime-only, bootloader enables watchdog so we need to pet it to stay alive: https://lore.kernel.org/linux-arm-msm/20231011-msm8226-msm8974-watchdog-v1-0-2c472818fbce@z3ntu.xyz/T/ Signed-off-by: Luca Weiss --- Changes in v2: - Pick up tags - Add spaces around regulator nodes - Set firmware-name for adsp - Expand reserved memory regions to cover everything somehow reserved downstream, leave no gaps. Seems to finally fix also nbd randomly failing - Remove internal storage since somehow it has killed itself on my device since last time, maybe by my random memory testing writing some not-so-great commands to it. So let's be safe and remove it. - Link to v1: https://lore.kernel.org/r/20231011-htc-memul-v1-0-76e57873190c@z3ntu.xyz --- Luca Weiss (3): dt-bindings: vendor-prefixes: document HTC Corporation dt-bindings: arm: qcom: Add HTC One Mini 2 ARM: dts: qcom: Add support for HTC One Mini 2 Documentation/devicetree/bindings/arm/qcom.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/qcom/Makefile | 1 + arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts | 369 +++++++++++++++++++++ 4 files changed, 373 insertions(+) --- base-commit: 9b969874004ff05d05e4340bacc1699f72f58686 change-id: 20231002-htc-memul-742a8517d24b Best regards, -- Luca Weiss