All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 7/7] clk: sunxi-ng: Add Allwinner A733 RTC CCU support
@ 2026-01-22  4:41 kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2026-01-22  4:41 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:202:1: sparse: sparse: bad integer constant expression"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260121-a733-rtc-v1-7-d359437f23a7@pigmoral.tech>
References: <20260121-a733-rtc-v1-7-d359437f23a7@pigmoral.tech>
TO: Junhui Liu <junhui.liu@pigmoral.tech>
TO: Michael Turquette <mturquette@baylibre.com>
TO: Stephen Boyd <sboyd@kernel.org>
TO: "Chen-Yu Tsai" <wens@kernel.org>
TO: Jernej Skrabec <jernej.skrabec@gmail.com>
TO: Samuel Holland <samuel@sholland.org>
TO: Alexandre Belloni <alexandre.belloni@bootlin.com>
TO: Rob Herring <robh@kernel.org>
TO: Krzysztof Kozlowski <krzk@kernel.org>
TO: Conor Dooley <conor+dt@kernel.org>
TO: Maxime Ripard <mripard@kernel.org>
CC: linux-clk@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
CC: linux-sunxi@lists.linux.dev
CC: linux-kernel@vger.kernel.org
CC: linux-rtc@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: Junhui Liu <junhui.liu@pigmoral.tech>

Hi Junhui,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7]

url:    https://github.com/intel-lab-lkp/linux/commits/Junhui-Liu/dt-bindings-rtc-sun6i-Add-Allwinner-A733-support/20260121-192151
base:   24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
patch link:    https://lore.kernel.org/r/20260121-a733-rtc-v1-7-d359437f23a7%40pigmoral.tech
patch subject: [PATCH 7/7] clk: sunxi-ng: Add Allwinner A733 RTC CCU support
:::::: branch date: 17 hours ago
:::::: commit date: 17 hours ago
config: riscv-randconfig-r133-20260122 (https://download.01.org/0day-ci/archive/20260122/202601221232.7AERi6Wa-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260122/202601221232.7AERi6Wa-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202601221232.7AERi6Wa-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   WARNING: invalid argument to '-march': '_zacas_zabha'
>> drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:202:1: sparse: sparse: bad integer constant expression
   drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:202:1: sparse: sparse: static assertion failed: "MODULE_INFO(import_ns, ...) contains embedded NUL byte"
   drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:203:1: sparse: sparse: bad integer constant expression
   drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:203:1: sparse: sparse: static assertion failed: "MODULE_INFO(description, ...) contains embedded NUL byte"
   drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:204:1: sparse: sparse: bad integer constant expression
   drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:204:1: sparse: sparse: static assertion failed: "MODULE_INFO(file, ...) contains embedded NUL byte"
   drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:204:1: sparse: sparse: bad integer constant expression
   drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c:204:1: sparse: sparse: static assertion failed: "MODULE_INFO(license, ...) contains embedded NUL byte"

vim +202 drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c

4d3467b15a1dcec Junhui Liu 2026-01-21  201  
4d3467b15a1dcec Junhui Liu 2026-01-21 @202  MODULE_IMPORT_NS("SUNXI_CCU");

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/7] rtc: sun6i: Add support for Allwinner A733 SoC
@ 2026-01-21 10:59 Junhui Liu
  2026-01-21 10:59 ` [PATCH 7/7] clk: sunxi-ng: Add Allwinner A733 RTC CCU support Junhui Liu
  0 siblings, 1 reply; 6+ messages in thread
From: Junhui Liu @ 2026-01-21 10:59 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Maxime Ripard
  Cc: linux-clk, linux-arm-kernel, linux-sunxi, linux-kernel, linux-rtc,
	devicetree, Junhui Liu

Add support for the Allwinner A733 RTC and its internal Clock Control
Unit (CCU). Reuse the rtc-sun6i rtc driver while introducing a new
SoC-specific RTC CCU driver to handle the hardware's evolved clock
structure.

To facilitate this addition and improve driver modularity, transition
the binding between the RTC and its internal CCU from direct
cross-subsystem function calls to the auxiliary bus. Also extract shared
IOSC and 32kHz clock logic into a standalone ccu_rtc module for reuse
across newer SoC generations.

The A733 implementation supports hardware detection of three external
crystal frequencies (19.2MHz, 24MHz and 26MHz), which is represented in
the driver via read-only mux operations. Implement logic to derive a
normalized 32kHz reference from these DCXO sources using fixed
pre-dividers. Additionally, provide several new DCXO gate clocks for
peripherals, including SerDes, HDMI, and UFS.

---
Junhui Liu (7):
      dt-bindings: rtc: sun6i: Add Allwinner A733 support
      rtc: sun6i: Bind internal CCU via auxiliary bus
      clk: sunxi-ng: sun6i-rtc: Add feature bit for IOSC calibration
      clk: sunxi-ng: Extract common RTC CCU clock logic
      clk: sunxi-ng: mux: Add mux read-only clock operations
      rtc: sun6i: Add support for A733 RTC
      clk: sunxi-ng: Add Allwinner A733 RTC CCU support

 .../bindings/rtc/allwinner,sun6i-a31-rtc.yaml      |  38 +++-
 drivers/clk/sunxi-ng/Kconfig                       |   5 +
 drivers/clk/sunxi-ng/Makefile                      |   5 +
 drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.c         | 204 +++++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun60i-a733-rtc.h         |  18 ++
 drivers/clk/sunxi-ng/ccu-sun6i-rtc.c               | 184 +++----------------
 drivers/clk/sunxi-ng/ccu_common.h                  |   1 +
 drivers/clk/sunxi-ng/ccu_mux.c                     |  11 ++
 drivers/clk/sunxi-ng/ccu_mux.h                     |   1 +
 drivers/clk/sunxi-ng/ccu_rtc.c                     | 136 ++++++++++++++
 drivers/clk/sunxi-ng/ccu_rtc.h                     |  44 +++++
 drivers/rtc/rtc-sun6i.c                            |  38 +++-
 include/dt-bindings/clock/sun60i-a733-rtc.h        |  16 ++
 include/linux/clk/sunxi-ng.h                       |   2 -
 14 files changed, 533 insertions(+), 170 deletions(-)
---
base-commit: 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
change-id: 20251226-a733-rtc-c5167df14e6e

Best regards,
-- 
Junhui Liu <junhui.liu@pigmoral.tech>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-23 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22  4:41 [PATCH 7/7] clk: sunxi-ng: Add Allwinner A733 RTC CCU support kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-01-21 10:59 [PATCH 0/7] rtc: sun6i: Add support for Allwinner A733 SoC Junhui Liu
2026-01-21 10:59 ` [PATCH 7/7] clk: sunxi-ng: Add Allwinner A733 RTC CCU support Junhui Liu
2026-03-28 14:41   ` Chen-Yu Tsai
2026-04-10  9:49     ` Junhui Liu
2026-06-15 17:56     ` Jerome Brunet
2026-06-23 15:23       ` Chen-Yu Tsai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.