Message ID | 20230506-msm8226-ocmem-v3-0-79da95a2581f@z3ntu.xyz |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp103155vqr; Wed, 14 Jun 2023 10:11:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WGDcxRXBD3sW+xcNjCI1TkTfjp+F9qHKD93XbZipkoP3AsQkxjVDtsYh4KA4VNLO9sqZH X-Received: by 2002:a05:6a21:3806:b0:119:be51:59de with SMTP id yi6-20020a056a21380600b00119be5159demr1567737pzb.7.1686762704391; Wed, 14 Jun 2023 10:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686762704; cv=none; d=google.com; s=arc-20160816; b=ZKTVhV7Qe9fKsBTR0IBnUNDggZXJa8bFwf1zTpH04lDDmhvaTlXMuIVQh9cXRFAilc +l6wcsLb2a96phgXpSXiT0jOID05ySchmjwu0lUHo/LBw73Yoy8WsHo3vvfoVTlgrF/A V4Ib8M8mSj1obCkqMSGv+NSWRGXCTigCiS1vYyfcRMrJ5nmNhL/cFxDBdrQCC++zfE0S 6lMb28fh7X9G8Ui8SVXKpmJ1K5FlzxC51IRedWllckuB6icpDe/1i/DwuO4LT75LTguG qDjL+DG431MoDVcopQzIVU6PnuLkV63+8XpS6x/Ew9ZmGPozsypUkQoDHr0WhagGbMPQ 8Umw== 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=yRqFoC+r2XGFgpdjsMx4ppMZiD8danzwmH/xtNoniPk=; b=PvGumipwbEmCxYUGAGp1b/572KZMbAsqWqzlft7DvpkOtTqPt3jCokDtkjQNhMGurN YKQehoFkIdSIxh3evyzWn/adWydhKoTOZHAmc3wnMkTX5fzG00efERa3XPMGaLt4/Q9U BDnAXKBS6lIzoYWQB9tzwjzkO7z6TsYtDysgGKqfjJ6wKKCxviNRMzU0Pdfg5RzxvhRb Zd8Q++55k5MBdv9E7k85JbWajrZ/1HY3G+gUJ/o5TevDQ56wcBP2BlUfz/SOuoq8wOC+ u7B4DUW81DvW2yavIZJxk/v6N9cJcEP2W/v1Ww8RLJEZ/Itp4+VuJuniEBaYvBMyQed3 UYHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=QKK27an9; 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 p4-20020aa79e84000000b006538b58db09si10379437pfq.284.2023.06.14.10.11.30; Wed, 14 Jun 2023 10:11:44 -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=QKK27an9; 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 S235156AbjFNQg3 (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Wed, 14 Jun 2023 12:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234804AbjFNQgN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 14 Jun 2023 12:36:13 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DE1A212B; Wed, 14 Jun 2023 09:36:12 -0700 (PDT) Received: from [192.168.178.23] (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 46E4ECFCAF; Wed, 14 Jun 2023 16:36:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1686760570; bh=OJMtAUAytlFBSm6etVG7AgdKyXd/04mqeGE4t7oTRIg=; h=From:Subject:Date:To:Cc; b=QKK27an9PIDLEstUsKB16j5lH0PeQr5+zOhOVq0Tn81KjE6AAetlCVjMngvl2Ml4b eN+5kJlbWfaeJiFn48jl3eE5ZVij1ZfGaKif93+vdETcbhbkQtjVbUAocLW9LbVvRb /aaClIPt9/r4BOAHjYM1fogcR7lgXkk8xmC27rZQ= From: Luca Weiss <luca@z3ntu.xyz> Subject: [PATCH v3 0/6] Add MSM8226 OCMEM support plus some extra OCMEM driver fixes Date: Wed, 14 Jun 2023 18:35:46 +0200 Message-Id: <20230506-msm8226-ocmem-v3-0-79da95a2581f@z3ntu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGLsiWQC/32Nyw6DIBQFf8WwLg1cVLSr/kfTBei1kig2oMRH/ Peiq27a5Zxk5mzEozPoyS3ZiMNgvBlsBHFJSNUq+0Jq6sgEGAiWsZz2vi8AcjpUPfZUI3KZSY4 FahIdrTxS7ZSt2mjZqevi+HbYmPk8eTwjt8aPg1vOz8CP9Vc+cMqoQEgRJKQN4/dV2HG6zstKj lKAvzZEm0tZ56XEVKjy2973/QN4Aaq//QAAAA== 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>, Conor Dooley <conor.dooley@microchip.com> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1556; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=OJMtAUAytlFBSm6etVG7AgdKyXd/04mqeGE4t7oTRIg=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBkiextv7z/LWT6N0CVbvOiOoWWGarCvipr2SG0P Glgs+aMXDeJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZInsbQAKCRBy2EO4nU3X Vtl6EACkQiGYF6MAeTl/QY9qjGzCHcthbN8ZSRrNf9/voBLP8pWP8Hg+8LNM95StxkpCrJ0Zs3y ly1muyKav0tUeZMXtrlw8vQPx0LL+iYDHBVoQIhmyTwphbOY6IzIoeB/y+zrNVUlUJ/Dn6Seq2Z FkNoe6s7WBu7h49Tw118OM7KKt0xx4w5Gg+AIq1wPJQXkinhTji6AETjh65aO27gxbkZBWjivSL oOUga6DTMUO6HhuHtow5cTmhv73JdiyWcGK9mn86Isktlbu+++b6rGmoQPRBD4RIegbXX2++07G I6guKTWCS6ThZK3q1ZCX35y2b/bRd26nXjmghf6w7KjgtTYhQ+C4qvySxbWvW/cwNCOekzNzTFj hVgAvu5awLPhViAKsMIIyx5D2BtV220SxEGmKCZrqB87pmzjE3dlhvmdtSdxMsioaSgcvUzt/A6 0UkutFIZQmkth6IX7YPgeYxr/zNnqj7VzwtjGsPPmtdbLxB29wKE8cXymFwSu+zup+zLihKLGny Hf6tslETpJUCHHeIAavw1Rd927FpuU2VU7a9gPP/uNPWbvJDRbODV/z7wErJd0FzF5kKXoCe71R UfBzs/KwgA7EMvIrh0PXlU3YxSvn80KRqbl6Di7iVunbGzlbjFDn+eu6DtS/MIWDpy/SPgISVKH TES+22n3mvTN1Hw== 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?1768698889054403180?= X-GMAIL-MSGID: =?utf-8?q?1768698889054403180?= |
Series |
Add MSM8226 OCMEM support plus some extra OCMEM driver fixes
|
|
Message
Luca Weiss
June 14, 2023, 4:35 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 v3:
- Rebase on linux-next
- Add 'else' to clk/clk-names in dt-bindings limiting to 1
- Link to v2: https://lore.kernel.org/r/20230506-msm8226-ocmem-v2-0-177d697e43a9@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 | 26 ++++++++-
arch/arm/boot/dts/qcom-msm8226.dtsi | 17 ++++++
drivers/soc/qcom/ocmem.c | 67 ++++++++++++----------
3 files changed, 78 insertions(+), 32 deletions(-)
---
base-commit: bcbf7634663f705695e9faa80ef419c2b1589f8e
change-id: 20230506-msm8226-ocmem-bee17571e8eb
Best regards,
Comments
On Wed, 14 Jun 2023 18:35:46 +0200, Luca Weiss wrote: > 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. > > [...] Applied, thanks! [6/6] ARM: dts: qcom: msm8226: Add ocmem commit: 4bad24d73abcc6adf70bc4c894c29cb1d0acda05 Best regards,