Message ID | 20230506-msm8226-ocmem-v2-0-177d697e43a9@z3ntu.xyz |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2416080vqo; Tue, 23 May 2023 14:05:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49I42eFhtCWYeyMFqGYiNmkHwBaQaK+LlsnCautxP4dki+W9nHIvRRX7TM+DyczfDussiv X-Received: by 2002:a17:902:c952:b0:1a0:76e8:a4d with SMTP id i18-20020a170902c95200b001a076e80a4dmr20450373pla.14.1684875913568; Tue, 23 May 2023 14:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684875913; cv=none; d=google.com; s=arc-20160816; b=KuCpKFWM/rmxL2tMd86DFslJ3/DWSAcWZasyDKefVRoJ/ykdn9u2OLebGBjQhocfEK ExLvmuIT3hlolNpyIeC9zTSVMZDksdZnaqxf62zt9B2tSoLRgP2ELs+CNnidHFAmljdY oZcS8umXqkWuKf2syD+j+FB7NzncOfbUS7lagq7kkba7gt0pT0ijl3d7MbusaRDoWzWV qf2LHM953+UCkjxnOQzL/0dQeHXSLj9NJnYkrz4XYxc+LnaQxlu9vvELYWTmCYFl8nrM Arq9vvx1DefUAJd4GhKbRo7l5bRNssXPus1MKcCSEnBOffVLYpY7pSrkPScwxae7z9uE HDaw== 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=r/C1IshVYcnSY88qyPnO1qZWw+8MYNUc/pO3Bx6pvLI=; b=JpP7y4vkcD7k/iHIHZHf5b3tBpMonlCqLGz9NUZVa2THPW9m/RYCSkheSDdsj5bkCD /EmZI3IOm3vnBE27SLBcP/Y6aoRRpYYddwU5+XMpjpfaHzsd4iItigOVVtpfD7ylw5M2 UBLs1+4zy3AOxjcPkq97/QT8tyNFyycYSONiB/3buA6vFzI6K6957VsIB1gkl2FP1ZOb fB69wB+tFnBRZHpkwdQOy8jH6FqDeO7dWVKgYFgM4xfVgKyARABB27eL1pCsFwYMNjv3 /Ia1MN2RxaAA/MB6xp9wBBZ81+e/2W/12YIyele7uVZCMChI7hWHRjI9IEi5NCIeoweV IQew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=NVgKbTcY; 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=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a637b50000000b00520d737cf49si7059137pgn.271.2023.05.23.14.04.59; Tue, 23 May 2023 14:05:13 -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=@z3ntu.xyz header.s=z3ntu header.b=NVgKbTcY; 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=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237019AbjEWUzd (ORCPT <rfc822;ahmedalshaiji.dev@gmail.com> + 99 others); Tue, 23 May 2023 16:55:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbjEWUzV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 23 May 2023 16:55:21 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03FD98E; Tue, 23 May 2023 13:55:20 -0700 (PDT) Received: from [192.168.122.1] (84-115-214-73.cable.dynamic.surfer.at [84.115.214.73]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id CE959CFB2A; Tue, 23 May 2023 20:55:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1684875318; bh=uQFqe5iVdN9eN/p5L3w9/rrS5p9PnWq9XPTlLZU9wdQ=; h=From:Subject:Date:To:Cc; b=NVgKbTcYbsH90zxHKbMvTCrS0WZLOSoqHBsMvtDNHpfGp+5xuOs8gtow7KZE706jv Cz08E5jgb4d5/a/L+Vzn7yFOMf3WSoJvTLfBZN8PPmoM5p8GtAtB5t+82n8lVFz12i tLi/WiXGXPIWGYs5s1SY42ftNswu3sjdPYdUqfFA= From: Luca Weiss <luca@z3ntu.xyz> Subject: [PATCH v2 0/6] Add MSM8226 OCMEM support plus some extra OCMEM driver fixes Date: Tue, 23 May 2023 22:55:07 +0200 Message-Id: <20230506-msm8226-ocmem-v2-0-177d697e43a9@z3ntu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACsobWQC/3WNOw6DMBAFr4K2zkb28lWq3COiwGQJlrBBNlh8x N3j0Keckd6bAzw7zR4eyQGOg/Z6tBHolkDbN/bDqN+RgQSlIhcFGm8qogLH1rBBxSzLvJRcsYK 4UY1nVK6xbR9XdhmGKCfHnV6vyKuO3Gs/j267mkH+7L/7IFFgypQxlZR1Qj731M7Lfd12qM/z/ AJ/CN7mvwAAAA== To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Clark <robdclark@gmail.com>, Brian Masney <masneyb@onstation.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Luca Weiss <luca@z3ntu.xyz>, Caleb Connolly <caleb.connolly@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1360; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=uQFqe5iVdN9eN/p5L3w9/rrS5p9PnWq9XPTlLZU9wdQ=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBkbSgt7sUiKz4ME5XGxcVEPS6FyEdN4zJb9wYLV nbImeMc17OJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZG0oLQAKCRBy2EO4nU3X VtWZD/9Scy+RTRdb0GgGgkI/rmfcu8Lujfpk5jK4NZFApFtgTuBlCAeemp2DyB/IuPvLH3mjeaS Z6HV407kOafUPf6crxSfTiH/0DlaWvO0HKBt3ea+BSGLAbmsuLm9WkSRRyxAlqQlFBPd1niUmum fBT2Yky4Livacu8kvtjcQkCtSpOQsAnJPtuRYVhFxGirdSDCNEt73RqGnynYnq5bmoet0a4CIac IK01tPVlbeqjlasThw3KWYLtODUM5R9tKjHwhDj6+r+fFjzQbGLikFP626AW+0KQeLSV7Fu+hru GbLc2hijSN78b16tfqbTHYjENmdY+aAqaJ0QKbiKwWZw5AwnwWRnc9i/1Y3IAray7xiePkhcCiD rwfBGow7SYxwBw481fvxlHJX9I1zwz+LzsLM2vN+Si6LsMMkJKkrql18R+oy5rPxPFHMy1brN1k wPPr1ddDVTB5MWHjo4kuN23Vr6hJNWOXeyn7epHJC/jsPtafrxc3tiUGakeFfuzKoM7cVdTEEBN y09Kr517jW4QAmdLXqjbXeBY4jpw6V6q2p7zqv8LAHphKOPe4E3Bjcmb4Az7Fh9iER1L1etoFhH ps2v3rJpYBl2+HyQLVB3gYKTdIGKeCOesNV1dIz/WHSHt2RmUbZ7MhyCbP6g4HKyMTzs4kCAH14 BT377SRU1Sfljtg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766720446042546994?= X-GMAIL-MSGID: =?utf-8?q?1766720446042546994?= |
Series |
Add MSM8226 OCMEM support plus some extra OCMEM driver fixes
|
|
Message
Luca Weiss
May 23, 2023, 8:55 p.m. UTC
Like MSM8974 the MSM8226 SoC also contains some OCMEM but it has just
one region for graphics compared to 8974.
While adding support I found a bug in the existing driver that is being
fixed in this series also and the rest of the matches are mostly
preparations for MSM8226 support.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Changes in v2:
- dt-bindings: add hw version hint to msm8974 & msm8226 variant (Konrad)
- dt-bindings: add constraints for clock (Konrad)
- Pick up tags
- Link to v1: https://lore.kernel.org/r/20230506-msm8226-ocmem-v1-0-3e24e2724f01@z3ntu.xyz
---
Luca Weiss (6):
soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
soc: qcom: ocmem: Use dev_err_probe where appropriate
soc: qcom: ocmem: make iface clock optional
dt-bindings: sram: qcom,ocmem: Add msm8226 support
soc: qcom: ocmem: Add support for msm8226
ARM: dts: qcom: msm8226: Add ocmem
.../devicetree/bindings/sram/qcom,ocmem.yaml | 20 ++++++-
arch/arm/boot/dts/qcom-msm8226.dtsi | 17 ++++++
drivers/soc/qcom/ocmem.c | 67 ++++++++++++----------
3 files changed, 72 insertions(+), 32 deletions(-)
---
base-commit: 8a80314554f679bc440e2affd842ece2048031ea
change-id: 20230506-msm8226-ocmem-bee17571e8eb
Best regards,