From patchwork Wed Jul 3 09:50:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13721599 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 A06681386B3; Wed, 3 Jul 2024 09:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720000230; cv=none; b=ESyYedg2sq80H9mQaAe23XnLC2vvMwyc+Botvx774clqIKuoBWw1vCmDJ42hu7iEQ4+CEW8ZlOqA1c4ogMVONrQlEq/N5E8Xh/Q1GywJAIMzgHgfMRltTw+uMrxcKhFebyLmZtb0jHzMHwehIDGwxYoaMe1hDhd8yFXVKq+8IPE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720000230; c=relaxed/simple; bh=VN0dICtf8OggMFqtTebUKdDngD8onf6DYfmLlc+0d7I=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=efDMzMKIgV9p7Tr3Jz2rpnJJS35GqljrW5rQ+d4fmMV3w1PigPomlXqo4o6XWndTgyxBnYtY/3YAdekUw8ILOid0t0xNMo3tn5f3h1tpNo8Dy4MnZ1vMqq+MWTc51Q9Z3RS5Tq4oIcBF9RqJiTXcnYwHcD0GKwZSpycXklUlaKg= 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=HlWvarp9; arc=none smtp.client-ip=209.85.208.47 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HlWvarp9" Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5854ac817afso3157955a12.2; Wed, 03 Jul 2024 02:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720000227; x=1720605027; 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=9e5yaw2si1pKuwfLiF0RZK+Xace2dOoBphwXdFQGGKY=; b=HlWvarp96DGRKfA8TGXixFRfYZm2fLCFWz++c+ZOypKT+4oQ+BD8E79P1c4nbtpom9 bOgQ8a+B+nKMTolZvRtK93TUGDaKl2WyV1I2R1i+bxopq5dpCQFelRqTE5Q7VdxkCNZ2 ZbUK9L6Zt3Z/DGBhVmCHdd9FjGYog8+GirdnYrGgI1DKAZyKz9fiy2kre6HcowBakP+1 kAxbh1Wu5sqUS6Mcwatx1Puvqb+OycVZJ32svpwHqjdEWiAR6exjwyk7ary01nu9zurK 0a8yFG5+4JaZhTM/D5zZM5+ixLvakuOvjUVVDvILf8ndUZy1ibP8IArTBhEjxMDJs8on gvwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720000227; x=1720605027; 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=9e5yaw2si1pKuwfLiF0RZK+Xace2dOoBphwXdFQGGKY=; b=cjaDf199gu/B2Q2Fi5KFRSZMKcQImKAVominAWlGZloqo2SKig6aduQCADZ1QvudTF lwO9P/xfGL9DQAMj+wPUwFLpMGTkD9yB2NjVpSN73vtE5bZuIjDYZsoo55mIvFPqIAtK rL0TkDHabudVqB1cqVGSza0bphD304bb/FsTaILObXj84cDiPtqRne4VvH+lQYFA8Nnv zlpZGcHelt8LjLnjGKKfxSNvb6ATZ2BXvyBaqWCWYXornvHirNJyHuFZA7XaQRTr00Hu TRB7LVR72YWh2DZmTSBCh2R/s+YUMNDc9TsTS0UDuQr04AN8mvQruJ8iT9AaQG1Oe6uq 5jnA== X-Forwarded-Encrypted: i=1; AJvYcCXo80vZsGCFLPiAxQhp1sesNxUhPCha6B2lPnkvSXH4L81WDBbC2l0iaI8Kkl0CXBTogFf718Pdi4t4/BWFajPvOmOkqyTgSIfaK+KOfX7Up0a+J0vl5kLARCQ/3LmOUUEmOGQDW3udrZQYXVuJv72ZTr8l/zAKsS0BwgtYW+uTxqRMH5O8bw== X-Gm-Message-State: AOJu0YzZU0Yp22zN8BNgLVz6eW1K5++VcDKo5gYa95+u1F/IzEyf2Y9V bnhhSpHl+53FbUQBnpm2V3w8zAeittLw2Jqd/bfpTgMrSRi69aYS X-Google-Smtp-Source: AGHT+IHy1ULwYKwABrtHwf7Z5gPXwJpCOZ7NAgyKtr9AsqNSUxedemwdLxYxMQEJeJr5NIPIwr+Zqw== X-Received: by 2002:a05:6402:1cc1:b0:57a:33a5:9b78 with SMTP id 4fb4d7f45d1cf-587a0a0e64bmr6978095a12.34.1720000226723; Wed, 03 Jul 2024 02:50:26 -0700 (PDT) Received: from [127.0.1.1] (91-118-163-37.static.upcbusiness.at. [91.118.163.37]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-58b4a97b1f3sm2082130a12.18.2024.07.03.02.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 02:50:26 -0700 (PDT) From: Javier Carrasco Subject: [PATCH 00/10] clk: constify struct regmap_config Date: Wed, 03 Jul 2024 11:50:13 +0200 Message-Id: <20240703-clk-const-regmap-v1-0-7d15a0671d6f@gmail.com> 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=H4sIANUehWYC/x3MSwqAMAwA0atI1gbir6JXERfSxhrUKq2IIL27x eVbzLwQ2AsH6LMXPN8S5HAJRZ6BXiZnGcUkQ0llTS1VqLcV9eHChZ7tPp2oO9MootoYUpCy0/M sz78cxhg/ciwmdmIAAAA= To: Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Martin Blumenstingl , Vladimir Zapolskiy , Bjorn Andersson , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Michal Simek Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-sunxi@lists.linux.dev, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1720000225; l=1600; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=VN0dICtf8OggMFqtTebUKdDngD8onf6DYfmLlc+0d7I=; b=XjNDV3CyIMCkA6IMmQ3V+5Cn8hZiM6rJfa6KC5/HpmmPt7RVotWReIEvLZvcnBMUvuSlYQMYF 9WN+/KkdNdhBJRjIsldFaqvySnS2npK1iWx7F4m12O6i+gta+F3kx/S X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This series adds the const modifier to the remaining regmap_config structs within the clk subsystem that are effectively used as const (i.e., only read after their declaration), but kept ad writtable data. Signed-off-by: Javier Carrasco --- Javier Carrasco (10): clk: meson: a1: peripherals: Constify struct regmap_config clk: meson: a1: pll: Constify struct regmap_config clk: meson: c3: peripherals: Constify struct regmap_config clk: meson: c3: pll: Constify struct regmap_config clk: meson: s4: peripherals: Constify struct regmap_config clk: meson: s4: pll: Constify struct regmap_config clk: lpc32xx: Constify struct regmap_config clk: qcom: lpasscc-sc8280xp: Constify struct regmap_config clk: sunxi-ng r40: Constify struct regmap_config clk: xilinx: Constify struct regmap_config drivers/clk/meson/a1-peripherals.c | 2 +- drivers/clk/meson/a1-pll.c | 2 +- drivers/clk/meson/c3-peripherals.c | 2 +- drivers/clk/meson/c3-pll.c | 2 +- drivers/clk/meson/s4-peripherals.c | 2 +- drivers/clk/meson/s4-pll.c | 2 +- drivers/clk/nxp/clk-lpc32xx.c | 2 +- drivers/clk/qcom/lpasscc-sc8280xp.c | 4 ++-- drivers/clk/sunxi-ng/ccu-sun8i-r40.c | 2 +- drivers/clk/xilinx/xlnx_vcu.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) --- base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233 change-id: 20240703-clk-const-regmap-c9d56004dd06 Best regards,