From patchwork Wed Jun 14 11:35:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 10760 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1185068vqr; Wed, 14 Jun 2023 04:55:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7UcCuvo6NMPtZSS3rLS89rTP3KiGNQCWp7zjKCcMY2I6fkDidpsOu4w8beWNM0sVvNIkfM X-Received: by 2002:a17:907:318e:b0:977:e87c:e633 with SMTP id xe14-20020a170907318e00b00977e87ce633mr18085069ejb.23.1686743710524; Wed, 14 Jun 2023 04:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686743710; cv=none; d=google.com; s=arc-20160816; b=DKHycQ1+Q8XLvADmscdNOvzUKckGoXD1vvC3Mf4f536mQPUpMnmAbZItKZZJftkhlw L0depmM9Pdj9+yjlVWEKVD+pR5lQRX5kylTT/yooxGfMHwrv2zVIq/iASPaPP07Nji/P LHnGY1Dz7OIzTKoFhO6RdxCgErzgyv0bugLtRSWY2fRX8DCxM+TETo2XpV+n8DwBE1yZ y1LGiNbMgkPQ6cQ86AN9OJpollSmcUw3rNuxvDsWADHq7rqCLwud5BHdHu0XDsahmHww 5m7ic9VbEoguAR1j/KhLp5tZsFa5UyUmgnbAfsIA2bTdVMG6+5+sLfmb39TEP2soKkdE lDEg== 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=S8KZM/F5g0Sr267RV/S9m6olNEra+NdUFalrdFIdYQw=; b=LQIg9Vk0V/cpkXk7Kr8gqQvAEljxy8mwb1d/bvQc1Ke44kLXfs8/X3i8bC6ERGTayk oCXrIz4MsmP479rhqKpjZHwhzPzqqg70dlsnTHF7ek9cdoKyWZd96eZIprOb++BFFny9 qvMTrvi7+9NWH+4CkxqJ5nwKNwM3evFvKiH18AGk3oAiyCEGuJ27vdFEy6fC+MXjjKkQ bHF1JOTLv2lHX32uVMDVN/fIXDn+jmOhEIFQz9unNpsOw0msJIiAAaxt5/Xq6++feRIO qbsDvjcxARNJufzX2db5EUg7fOXF/bOHkT1Ju2OlCVjJS9BP9i9KlqpzNH1wJkv8UJRR 63Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mpHyDAKV; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x23-20020a170906b09700b009745bf4b2e8si7899070ejy.283.2023.06.14.04.54.46; Wed, 14 Jun 2023 04:55:10 -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=@linaro.org header.s=google header.b=mpHyDAKV; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244048AbjFNLfx (ORCPT + 99 others); Wed, 14 Jun 2023 07:35:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234209AbjFNLfv (ORCPT ); Wed, 14 Jun 2023 07:35:51 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F98C1BE9 for ; Wed, 14 Jun 2023 04:35:49 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f4b2bc1565so8289290e87.2 for ; Wed, 14 Jun 2023 04:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686742547; x=1689334547; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=S8KZM/F5g0Sr267RV/S9m6olNEra+NdUFalrdFIdYQw=; b=mpHyDAKVCq1eVhSWEhGnB0BOvkUh9SqUoWX5vqdFyz/08za/0Kry77C1uqoGt6Mooy 9cdAPXqJKe8/L+4dodWqztgVV2IOzBE6XqYvm+p5e7tFeCK9DFUoDLawsq/vnvCmoWdN UJtC4eNOrDh77MSP6QpXHLKjcnxpRjzehupP5GExHoEW4XESXbalNUAD67Ayp+MOrOu8 WGu9B+dr+iC19o9jcU2tJtu0iOyQGDPWPXdVPP6KjufSvG5QAS+IapIugY7J0EOCtTqU kpHCqZSq9dtd7wO7s6vlhljcPoceRoDTMKCeDVH9T+wdLUmySory2NoWxy916uMCH7GF XXQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686742547; x=1689334547; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S8KZM/F5g0Sr267RV/S9m6olNEra+NdUFalrdFIdYQw=; b=a4/x5GD/XAB5jNyEM6DnAdSHdrF5IQzmySkmjpRePR2uwwNe7fE5e/nHCMtEARUWeR b39zGbzlHZ5P7pAD09vq2ZZC1jW47tfsBdhFeNxVo6yAA/odnNyzq75Gv7gkaZ33+/mX eKgpAfGYy0AzzMWOFe06YR9GLZ6qR9/U2A1BWT2tV1lU521mkYLLVS8ogn5kSg+M3uPX 5G5qMitwP6r3z4D91QsEC6l+TPUELK4UMBHonNkmYRPTYBd2uuNyEo9cJvWnLcdfUAL6 TgQY441SrLiwmgBwAWkaQjPh74fr6TSt3NbcyXo6Xrt0PkZE+170cdkWuA7U8Hfgcon2 4rqg== X-Gm-Message-State: AC+VfDyus2WmQs+ObvWfa2UCjbNbQ5IBPujuOZ1AGCtPFk21XVSEo64T 37KZVqDQ1ebcAtc/2/LmLEifWw== X-Received: by 2002:a05:6512:32aa:b0:4f6:2e5c:de65 with SMTP id q10-20020a05651232aa00b004f62e5cde65mr7601565lfe.28.1686742547496; Wed, 14 Jun 2023 04:35:47 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id x1-20020ac25dc1000000b004f64b8eee61sm2088406lfq.97.2023.06.14.04.35.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 04:35:47 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v2 0/7] SM6350 GPU Date: Wed, 14 Jun 2023 13:35:31 +0200 Message-Id: <20230315-topic-lagoon_gpu-v2-0-afcdfb18bb13@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAOmiWQC/32NWwqDMBAAryL5bopG+6BfvUeRstmucSFkQ6LSI t69qQfo5wwMs6pMiSmrW7WqRAtnllDAHCqFIwRHml+FlalNW7fNSU8SGbUHJxKeLs76igYsosU zWVUyC5m0TRBwLGGYvS8yJhr4vX8efeGR8yTps2+X5mf/HJZG1xouHVrCjnDAu+cASY6SnOq3b fsCrWAwX8YAAAA= To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , AngeloGioacchino Del Regno , Conor Dooley Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Konrad Dybcio , Luca Weiss X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686742545; l=1513; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Zj6EKpI9LyjJLvwEHwqcCLEiQUgWc1gxPnuUuffY2/g=; b=REH0Yu7DJoufQBzafbTcHqja8hly3sLq7yU4EtTvyEhzgxq8NBvoWzl8NYb8tCbLsdhZ18DMC w8tIAtoHF9HAmmKgKM7XJ15oATMACRjPgEMqkd9qG59bVTRgDlQOPWG X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768678972737163300?= X-GMAIL-MSGID: =?utf-8?q?1768678972737163300?= Add all the required nodes for SM6350's A619 and fix up its GPUCC bindings. This has been ready for like 1.5y now, time to finally merge it as the display part will take some more time (due to the HW catalog rework). Depends on (bindings, admittedly I could have organized it better): https://lore.kernel.org/linux-arm-msm/20230314-topic-nvmem_compats-v1-0-508100c17603@linaro.org/#t Signed-off-by: Konrad Dybcio --- Changes in v2: - gpu_speed_bin@ -> gpu-speed-bin@ [3/5] - Order GPU nodes properly [4/5] - sort out the clock-names issue - throw in the dpu patch, as the driver part has been finally merged - pick up tags - Link to v1: https://lore.kernel.org/r/20230315-topic-lagoon_gpu-v1-0-a74cbec4ecfc@linaro.org --- Konrad Dybcio (7): clk: qcom: gpucc-sm6350: Introduce index-based clk lookup clk: qcom: gpucc-sm6350: Fix clock source names arm64: dts: qcom: sm6350: Add GPUCC node arm64: dts: qcom: sm6350: Add QFPROM node arm64: dts: qcom: sm6350: Add GPU nodes arm64: dts: qcom: sm6350: Fix ZAP region arm64: dts: qcom: sm6350: Add DPU1 nodes arch/arm64/boot/dts/qcom/sm6350.dtsi | 394 ++++++++++++++++++++++++++++++++++- drivers/clk/qcom/gpucc-sm6350.c | 18 +- 2 files changed, 402 insertions(+), 10 deletions(-) --- base-commit: b16049b21162bb649cdd8519642a35972b7910fe change-id: 20230315-topic-lagoon_gpu-8c2abccbc6eb Best regards,