From patchwork Tue Oct 24 20:57:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 15830 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2199136vqx; Tue, 24 Oct 2023 13:59:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRmrv3kEovB0lVo+cT2K+KIgsb/eVsRyN6JxZtziL2uIa7V3oki19M51O0xt7oreDPJ0dj X-Received: by 2002:a05:6358:6a46:b0:168:ed36:940 with SMTP id c6-20020a0563586a4600b00168ed360940mr4120628rwh.28.1698181154347; Tue, 24 Oct 2023 13:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698181154; cv=none; d=google.com; s=arc-20160816; b=LJkSL6975KSnz5MnIMRfIy7kW5ofitP+NBoFWA7VxBg4MyiwCCt6ByV5DyORb1tCWF gFuNUUru/D5+aYT8e1yrLxTMJXixZ5dE6HPXdppelgVoDcQfb3xadVWmUXMrPatr0C4y Y2QkViFdp/6hVStgG1Tsjjm6+Z5x4xoIzYG2hhgMPsqbiUK7tyKoo2xiIVrGIh630qgu LJzkpD10+LsaDd6saJqoX1lj+09X+qAQC3S6Uwbx62FigNbMkGklVxlrAh4qPImauQYR hfiV5U5oEItmm9T02m3tsUSiz1gxnTq+wBqLfhqiBaEB8eC3Upn6Nix5WxblfI1gAOWc LzAg== 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 Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id ch10-20020a056a0208ca00b005accbb92b70si8720195pgb.676.2023.10.24.13.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 13:59:14 -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 E85D080B6C2A; Tue, 24 Oct 2023 13:59:09 -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 S1344348AbjJXU6j (ORCPT + 27 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 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:59:10 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780672001797409433 X-GMAIL-MSGID: 1780672001797409433 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,