Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp307491lqh; Thu, 28 Mar 2024 02:40:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIfaoSfWMSi6rLaBfyDntPKtzb6wba8vgrRKd/Ont49Owzc3nU4IBMPwXSZeOF0fsMblYR65y+XmeZRugnaZoy+nEfkArtY5g6hn1glw== X-Google-Smtp-Source: AGHT+IHOtN5nwD+qTHQOOocE3els3Heqid0lxfSteuiVYwwBlePhol4G6sLNMj2HS7iNvqLOaf+W X-Received: by 2002:a17:90a:5b14:b0:29b:f909:94b4 with SMTP id o20-20020a17090a5b1400b0029bf90994b4mr2147652pji.21.1711618808245; Thu, 28 Mar 2024 02:40:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711618808; cv=pass; d=google.com; s=arc-20160816; b=l+OGq/b33P3Ez1EgTWnrkItf0esfRw+dmAFEeESnx5JLg/ddgMrXFjYqt/n9G58786 X8iIxx39Y9ewQ7SEhzOTG8q+Z3w0dOIWhmBq6pokDm7jO9MOmjvZrJzX9C00WIc/LIHl hphD1gV2oQM/+UH4yKNUEWspLbBc7hUOFXLT2bsjrWuBhey39HuptdPhfpijeIlbLDZC Jxt6tWAF9fZeopzifqPAyrBPXS6kzvCd7tYukDpy1+YGdyC1yrYpc9e6/SiLD5vtIrO0 xNCTYBsekMgvepa4EG5FWBPNG/hPd1kZEVfzBlyCiMEeF8ZTGgGgcyzb5Tu5hMZUPwtE SE5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=76sr1FMyUWOhL+InHmaTktpONdMRRLx62idYpcBzy94=; fh=PSGvscCocBw2eI7ZHubC14JiTtzab5RkGI1Wh1w1K3Q=; b=PL6Z36rDB5KMfCSqUkU/wyZLc88l8bbdDyU5kcdUtqYthg0M7iUNpcrFflx1F5Cxhj D3DGRQeilaz2GXOUJOZFVWnJodJ7uNfKX6gfk4T8NObQe0B+M/dN0kzhfJStzx5m23hs MLE9aT5CxMJO2I5D/MjliTyDQw1fhckC0EF0/CSXMpPAe4z8/2Feh/J/fsPh3qm3Zkt4 iTi28j8A4jZyOagAq8EaVc/dJXdIhhZQq11PtjiF5VYEJ8BK6z1uUN1KtRhyUIvn0vPD r67qYdf5U40HHJuGbnwpF4jBwG3j/EMfszF6Q1mZu07TLrPoPtsAjKIrEPvFZvcr151+ 5WTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z92uH96+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-122675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l16-20020a17090aec1000b002a0353e88dasi1223075pjy.122.2024.03.28.02.40.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 02:40:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z92uH96+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-122675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id CAC4FB28D14 for ; Thu, 28 Mar 2024 09:25:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 299427C08C; Thu, 28 Mar 2024 09:23:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z92uH96+" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 7F4C4134CB; Thu, 28 Mar 2024 09:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711617807; cv=none; b=N/L65/+/lOTP7AYG2GHzdqLtQAq9QcuLZGma3WbV7dgJCvxLbeVSXgu+7gQDlFJOIKF/hOW+01XliUiB+mKwAhj0sRK6MJAttoyWqusajx7JWb6u9ubNnnu0wOL1MvfLm+ZlEFegFfCITM/kXelqq2jrntTK0Bv5HcVubJYhS8A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711617807; c=relaxed/simple; bh=M8HHIKevIxc77HrQP75VS/7x/3zEwQAFlO5tgpeUBkM=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=H/rUWp2AyRECnWP4D8vxkt55P+kAPj6ym5ItMrt6T8/exwjqH1+wnNoy475MJ4xmBFdjlaVPDbebdF6dGrDvQa/9XjKyE/Ke259EBAYbRz3ioqjQ3YkaQKXGlpKZ1SqWfmAjo0Tx4WvfnyQpH19QY3uuLRTQhJSquqxghovJeeE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Z92uH96+; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-56c0a249bacso874572a12.1; Thu, 28 Mar 2024 02:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711617804; x=1712222604; 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=76sr1FMyUWOhL+InHmaTktpONdMRRLx62idYpcBzy94=; b=Z92uH96+cRwbIomvybeQq9l6W3OBKxlX90Pq3UFWof8MqY0xGduHbdbAZDjFhqC25G lvVj95n0miv7Kow8ENpZUjoUXo36RViVITn075mXS+Ap5nIdxJlXKWyKPW1ryrLpgTCe haRh1arlX9lpVyi5KBgZgLndp6fugzYQKqmOt9fzAv8O4bPsQaVrnInUPNvAheoCSX6U yBGb3w0qFFpCVKrbYdvw/RwQLtj/0hdJ7dsl/4n1nxjJ9s9NDLO6pwpovi/ygAv7GKhz h9MjrEhKQAwEfJRHtfz3avlPUbOECl9yD7bFsrVJ+gOfxUHoNEEsO8vTWjuL8etHivCG I+9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711617804; x=1712222604; 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=76sr1FMyUWOhL+InHmaTktpONdMRRLx62idYpcBzy94=; b=OJowfPo3OgoA191nI/GduJ0Mc1jak31XEWox4hmSHCRAlIAqK0EglXPYV+mYUCQw95 lLUj/0UtarlPI+qrYbMp3m/pNZ/JmNR6pyQvfz1ZXe1ESewvI+wyK6AL+87X0lYF5jjY xd54/UnlfLOav5CHIgZ3d6z3zwbYm32ZcFfYqb58ZBjoESUspZuBxoGIVi/QiSV08h0L JVTrdRZEojQrXyaO7szv4wyAuJ4TFTLa2glhwwwvVUOHeGxsETP9//j9IsHDYPHmp6m0 FgXk6mgHgGWQGSDLnS3RpavBuygZZnY15X58FStNCPRRjuGkkY5oFaGjcyICpEBJ/OJy O0xQ== X-Forwarded-Encrypted: i=1; AJvYcCWwZENPduc4IC1gILZwdZ77wDipaGNMdgl4+8pdQIa0H8IK+pn9Z5COueCy+ZRoEEIBxGFI3wJAavC6h0eZNuNckI5GiTYmctNuC9x4nkvXZ5DbYinMUCSdZYAl/To8vFEn5EYOaH5S X-Gm-Message-State: AOJu0Yz6PeKDEX8GL80TIwsbHfNIMbWJUgzEyam4x936NGEn9e4QY9RS KGnQ7+c6JwBcJm+E4MxKrxcyAtbpcdRPKAmHUX2jRtM2cy6O7IAv X-Received: by 2002:a50:cdc2:0:b0:566:ab45:e6c5 with SMTP id h2-20020a50cdc2000000b00566ab45e6c5mr1733391edj.28.1711617803822; Thu, 28 Mar 2024 02:23:23 -0700 (PDT) Received: from [192.168.20.102] (57657817.catv.pool.telekom.hu. [87.101.120.23]) by smtp.googlemail.com with ESMTPSA id cf2-20020a0564020b8200b0056b0af78d80sm609298edb.34.2024.03.28.02.23.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 02:23:23 -0700 (PDT) From: Gabor Juhos Subject: [PATCH v4 0/5] clk: qcom: apss-ipq-pll: various cleanups Date: Thu, 28 Mar 2024 10:23:09 +0100 Message-Id: <20240328-apss-ipq-pll-cleanup-v4-0-eddbf617f0c8@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAP02BWYC/3XN3wqCMBTH8VeRXbdw/8p11XtEF2s708HUtZUU4 rs3hUAiL78/OJ8zogTRQUKnYkQRBpdc3+XguwLpRnU1YGdyI1pSXjIisAopYRfuOHiPtQfVPQN WBKRUVppKcJRPQwTrXgt7ueZuXHr08b18Gci8fsHqPzgQXGJB7VEKTqUR5ly3yvm97ls0gwNdI ZRsIDQjtCSW6QxZw38RtkYOGwjLCBGaK4Ab4UqvkWmaPu+x4aZCAQAA To: Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Gabor Juhos X-Mailer: b4 0.13.0 This series contains a few patches to perform some cleanup in the apss-ipq-pll driver. The set is based on v6.9-rc1 and it depends on the following patches: - "clk: qcom: apss-ipq-pll: use stromer ops for IPQ5018 to fix boot failure" Link: https://lore.kernel.org/r/20240315-apss-ipq-pll-ipq5018-hang-v2-1-6fe30ada2009@gmail.com - "clk: qcom: clk-alpha-pll: Stromer register cleanup" Link: https://lore.kernel.org/r/20240311-alpha-pll-stromer-cleanup-v1-0-f7c0c5607cca@gmail.com Signed-off-by: Gabor Juhos --- Changes in v4: - fix a typo in the subject of patch 5 - collect Reviewed-by tags - Link to v3: https://lore.kernel.org/r/20240326-apss-ipq-pll-cleanup-v3-0-15c4aeeb14ac@gmail.com Changes in v3: - rebase on top of v6.9-rc1 - change patch 3 to use private values for pll_type instead of removing the field of struct apss_pll_data - collect Reviewed-by tags - Link to v2: https://lore.kernel.org/r/20240321-apss-ipq-pll-cleanup-v2-0-201f3cf79fd4@gmail.com Changes in v2: - add a new patch at the end to remove the 'cbf_pll_regs' register map from clk-cbf-8996.c - change patch 2 to move huayra register map to clk-alpha-pll.c - collect Reviewed-by tags - Link to v1: https://lore.kernel.org/r/20240318-apss-ipq-pll-cleanup-v1-0-52f795429d5d@gmail.com --- Gabor Juhos (5): clk: qcom: apss-ipq-pll: reuse Stromer reg offsets from 'clk_alpha_pll_regs' clk: qcom: apss-ipq-pll: move Huayra register map to 'clk_alpha_pll_regs' clk: qcom: apss-ipq-pll: constify match data structures clk: qcom: apss-ipq-pll: constify clk_init_data structures clk: qcom: clk-cbf-8996: use HUAYRA_APSS register map for cbf_pll drivers/clk/qcom/apss-ipq-pll.c | 56 ++++++++++------------------------------ drivers/clk/qcom/clk-alpha-pll.c | 10 +++++++ drivers/clk/qcom/clk-alpha-pll.h | 1 + drivers/clk/qcom/clk-cbf-8996.c | 13 +--------- 4 files changed, 25 insertions(+), 55 deletions(-) --- base-commit: 9755120255d6e7b6480509e753e9aecd6171e04a change-id: 20240315-apss-ipq-pll-cleanup-a1e99af9d854 Best regards, -- Gabor Juhos