From patchwork Wed Jul 17 10:04:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13735295 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9007A14A61B for ; Wed, 17 Jul 2024 10:04:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721210675; cv=none; b=BvI80bfSy4sqq/dInf5ZNbTbQw2y/2Br445ms7KT6O+TGPfMBi9+PDb8v479PY8+P9D/Oav011etZdHw/klS5787SF5QnMJ1sCfi80x0rwTyrxhBpXr2S3RHU+c1a3j9DMrHisP77RbgIrwU3CXaHTUNGxDnI5YnmKTH9CyclLo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721210675; c=relaxed/simple; bh=uv0ykO6lAHanu2zHRfaeWFxF3b1Xl5H0N7x9oqBBQPk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=h15nFwBcuUVXVRWnSiv8KbeoB4ZhoF85HrLyylT791Vik+M1cruK3YdMHwvc70lkq5tqTqfvRFkuaGL8BYgmNFjbw5kZz8P/EkouNSFq1O/QAce6UZNZXJHb7+luc2uNbq8N9TKcDWR2H7bwm4ySEw9ALKIhdaKgS7x2Pgt3rtw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aAJkbd7o; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aAJkbd7o" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-52ea1a69624so7028506e87.1 for ; Wed, 17 Jul 2024 03:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721210672; x=1721815472; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=5Dem9Aalm2RNMnEUQEEPY+XPaS5++v2y4aGes9SF7kc=; b=aAJkbd7oCVgbBWZ1zmu5mtnD/GK72yBCDsULzTvsNOA+gsshiXzYvQ8hbR/y+zBqMr iPHFK7nuliMkT9oCrOejyrN6wiF8cZP5q/Qv/Fw2iboXtOS7tRMBgeoQgOIkcv5Hl+5f tNTVbqLva4cgIJwnTm0jj7Fr4L1K+/rRzNtRmls3XUayhnwis1NoXH/46wI3FvbKHxSY EDxCe4k10IDYZoKwTG52l72MwCTWW6cS7k+KxKsYztBIwJnWE4CjRWelunfiEaVGTWiZ JCjQscIEGNfWwE3Y0JMeTXR3lDP7rY2JgcVdz9aycdGoFOfHO0CG9pSXY5sWUVmDtgp/ xmgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721210672; x=1721815472; 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=5Dem9Aalm2RNMnEUQEEPY+XPaS5++v2y4aGes9SF7kc=; b=ky3TQhvkeczPqK1SnMDDTpPckDGOJsZ/AFcaR+BJtRUE+YSdIQTt43dZvhE86CH/10 i3BOKt9bfLtSBnYzV3cSxqjvrtjOMGXekzcNPPR5LUbkAcF8Uh4VmLHmQDwW5h6fXMTJ 0cdJKUZZAVZT5LC/+bAnWovwBgiG4LBAa4H1Kxv0ZLGNRzExiG4a06+yvuh1iLhbW9bc 1YLh+EFQ5AvaRY60RMrSAiEXo+o6miQcgS0Kgbni6+T08lr5wG/1OD+uYmkEWnUx3P01 zVb5498eDQZymhwBvxkkWiT+QhyuOeT2Y+pvCyP4c02S23isSiVGC/ILfdZKUpPG4Oy8 wGqA== X-Gm-Message-State: AOJu0YzAInlzW1CJks5Xs/0BFtO3OIsbtBT4N9qr1w5n3eKx9faJNST6 qm1XKAEsdGqFpp/95dIR/BU7oacnNm4YAakLdkUE0/NkTTklbhxhQG0MpsMXtqmAeCD+XctFmei T X-Google-Smtp-Source: AGHT+IGJvkHc+XX7Mg6bdbOOQZEQz1KluPTQtmJJJwSsVS3Cm2m33FooYJdRHqbVqHQ9EhLdqILt1Q== X-Received: by 2002:a05:6512:6c7:b0:52e:9d2c:1c56 with SMTP id 2adb3069b0e04-52ee53dc853mr858241e87.35.1721210671612; Wed, 17 Jul 2024 03:04:31 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ed253924asm1425391e87.262.2024.07.17.03.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jul 2024 03:04:31 -0700 (PDT) From: Dmitry Baryshkov Subject: [PATCH v2 0/7] clk: qcom: merge SM8550 and SM8650 display clock controller drivers Date: Wed, 17 Jul 2024 13:04:27 +0300 Message-Id: <20240717-dispcc-sm8550-fixes-v2-0-5c4a3128c40b@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACuXl2YC/22NwQ6CMBBEf4Xs2TWlFgqe/A/DAbsLbKKUtIZoS P/dSuLN45vJm9kgchCOcC42CLxKFD9n0IcC3NTPI6NQZtBKG2XLGkni4hzGR1NVCgd5ccTakK0 ap4lOBrK5BN6LLF67zJPEpw/v/WQtv+lvz/7dW0tUyMPNUKstuba/3GXugz/6MEKXUvoA2KKvb 7cAAAA= To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Neil Armstrong , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1692; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=uv0ykO6lAHanu2zHRfaeWFxF3b1Xl5H0N7x9oqBBQPk=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBml5ctwuPoxRAf3bo/nT+VjaowWb1dAgD0vsa+r i+ys9DKUWCJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZpeXLQAKCRCLPIo+Aiko 1YTYCACeZB+7HeIRsCJ9+p0B3KoQ/E09owq4pLlimU74Z+s16CCa6j+Zt/a3VF/P6XdDphEXA3O NOZWI86j9Au1o+bFvu5xVJf1vp88AmsTaLjObcPp4UVB6DZd5L5FweWKr7nezGPMoIL9JpMymIw XVYYg3JnQicyOXFZwj4ntPKExj1+r5cR8DXlOWil83Aij4czpK4bS4Pq4amqoDfuXKptdFHNhBI lzls3+FFfNK6CSq1KHQGM0SYpn69f6dhYQg4/1ZvkB6SCcvFlO/JFAIoEFpqycF5tL9+9YeBkfu QjaKyRRZBgzJ/yg6lFRCD0wenNw1vkGSNbySrQdqMlQ3iro6 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM8550 and SM8650 platforms have nearly the same dispcc block and very similar drivers. Seeing fixes being applied to one of them, but not another one, merge two drivers into a single codepiece. Depends: - https://lore.kernel.org/linux-arm-msm/20240716-topic-sm8650-upstream-fix-dispcc-v3-0-5bfd56c899da@linaro.org (patches 1/3 and 3/3 only) Signed-off-by: Dmitry Baryshkov --- Changes in v2: - Moved the rogue chunk back to the patch 6/7 - Fixed the disp_cc_mdss_dptx1_usb_router_link_intf_clk parents (Neil) - Link to v1: https://lore.kernel.org/r/20240717-dispcc-sm8550-fixes-v1-0-efb4d927dc9a@linaro.org --- Dmitry Baryshkov (7): clk: qcom: dispcc-sm8550: fix several supposed typos clk: qcom: dispcc-sm8550: use rcg2_ops for mdss_dptx1_aux_clk_src clk: qcom: dispcc-sm8550: make struct clk_init_data const clk: qcom: dispcc-sm8650: Update the GDSC flags clk: qcom: dispcc-sm8550: use rcg2_shared_ops for ESC RCGs clk: qcom: fold dispcc-sm8650 info dispcc-sm8550 dt-bindings: clock: qcom,sm8650-dispcc: replace with symlink drivers/clk/qcom/Kconfig | 14 +- drivers/clk/qcom/Makefile | 1 - drivers/clk/qcom/dispcc-sm8550.c | 198 +-- drivers/clk/qcom/dispcc-sm8650.c | 1796 ------------------------ include/dt-bindings/clock/qcom,sm8650-dispcc.h | 103 +- 5 files changed, 112 insertions(+), 2000 deletions(-) --- base-commit: f6f1e4207e8eef4f8830b97ee0e2f9269bd88648 change-id: 20240716-dispcc-sm8550-fixes-64d758c2dd34 Best regards,