All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Nuvoton WPCM450 pinctrl and GPIO driver
@ 2021-12-07 21:08 ` Jonathan Neuschäfer
  0 siblings, 0 replies; 53+ messages in thread
From: Jonathan Neuschäfer @ 2021-12-07 21:08 UTC (permalink / raw)
  To: linux-gpio, devicetree
  Cc: Linus Walleij, Rob Herring, openbmc, Tomer Maimon, Joel Stanley,
	linux-kernel, Jonathan Neuschäfer

It's been a while, but here is finally version 2 of the WPCM450 GPIO driver.

The biggest change since v1 has been the restructuring of the DT binding to
give each GPIO bank its own node.

Another thing that changed is how pins are muxed to GPIO mode: In v1, this
happened automatically when the corresponding GPIO was used. I copied this
feature from the pinctrl-npcm7xx driver, but removed it along with the
.gpio_request_enable and .gpio_disable_free callbacks. Instead, pins can now
be switched to GPIO explicitly, if needed.

Everything else is noted in the individual patches.

I hope I didn't miss anything that was requested in response to v1. If I did,
please make your comment again.


Best regards,
Jonathan Neuschäfer


v1:
- https://lore.kernel.org/lkml/20210602120329.2444672-1-j.neuschaefer@gmx.net/

> This series adds support for pinctrl and GPIO in the Nuvoton WPCM450 SoC.
> Both my DT bindings and my driver are based on the work done by others for
> the newer Nuvoton NPCM7xx SoC, and I've tried to keep both similar.
>
> Instead of extending the pinctrl-npcm7xx driver to add WPCM450 support,
> I copied/forked it. The pinmux mechanism is very similar (using MFSEL1 and
> MFSEL2 registers), but the GPIO register interface has been redesigned for
> NPCM7xx; adding support for the older GPIO controller would make the driver
> harder to understand, while only enabling a small amount of code sharing.
>
> The DT binding in YAML format might make a good template for also converting
> the nuvoton,npcm7xx-pinctrl binding to YAML.
>
> Both in the DT binding and in the driver I kept the name "pinctrl". For the
> driver, I find it accurate enough because it handles pinctrl and GPIO. For
> the DT node, it's a bit less accurate because the register block at 0xb8003000
> is about GPIOs, and pin control happens in the global control registers (GCR)
> block, except for input debouncing. So, "GPIO" might be the more appropriate
> name component there.


Jonathan Neuschäfer (8):
  dt-bindings: arm/npcm: Add binding for global control registers (GCR)
  MAINTAINERS: Match all of bindings/arm/npcm/ as part of NPCM
    architecture
  ARM: dts: wpcm450: Add global control registers (GCR) node
  dt-bindings: pinctrl: Add Nuvoton WPCM450
  pinctrl: nuvoton: Add driver for WPCM450
  ARM: dts: wpcm450: Add pinctrl and GPIO nodes
  ARM: dts: wpcm450: Add pin functions
  ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add GPIO LEDs and buttons

 .../bindings/arm/npcm/nuvoton,gcr.yaml        |   45 +
 .../pinctrl/nuvoton,wpcm450-pinctrl.yaml      |  190 +++
 MAINTAINERS                                   |    2 +
 .../nuvoton-wpcm450-supermicro-x9sci-ln4f.dts |   43 +
 arch/arm/boot/dts/nuvoton-wpcm450.dtsi        |  384 ++++++
 drivers/pinctrl/Makefile                      |    2 +-
 drivers/pinctrl/nuvoton/Kconfig               |   18 +
 drivers/pinctrl/nuvoton/Makefile              |    1 +
 drivers/pinctrl/nuvoton/pinctrl-wpcm450.c     | 1134 +++++++++++++++++
 9 files changed, 1818 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nuvoton,wpcm450-pinctrl.yaml
 create mode 100644 drivers/pinctrl/nuvoton/pinctrl-wpcm450.c

--
2.30.2


^ permalink raw reply	[flat|nested] 53+ messages in thread
* Re: [PATCH v2 5/8] pinctrl: nuvoton: Add driver for WPCM450
@ 2021-12-09 18:40 kernel test robot
  0 siblings, 0 replies; 53+ messages in thread
From: kernel test robot @ 2021-12-09 18:40 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 28782 bytes --]

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20211207210823.1975632-6-j.neuschaefer@gmx.net>
References: <20211207210823.1975632-6-j.neuschaefer@gmx.net>
TO: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
TO: linux-gpio(a)vger.kernel.org
TO: devicetree(a)vger.kernel.org
CC: Linus Walleij <linus.walleij@linaro.org>
CC: Rob Herring <robh+dt@kernel.org>
CC: openbmc(a)lists.ozlabs.org
CC: Tomer Maimon <tmaimon77@gmail.com>
CC: Joel Stanley <joel@jms.id.au>
CC: linux-kernel(a)vger.kernel.org
CC: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>

Hi "Jonathan,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on robh/for-next linus/master v5.16-rc4 next-20211208]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Jonathan-Neusch-fer/Nuvoton-WPCM450-pinctrl-and-GPIO-driver/20211208-051101
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: arm-randconfig-s031-20211209 (https://download.01.org/0day-ci/archive/20211210/202112100257.YCgv17TU-lkp(a)intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/0day-ci/linux/commit/c08fb0aafb60234854aa86433da809fe5112f55e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jonathan-Neusch-fer/Nuvoton-WPCM450-pinctrl-and-GPIO-driver/20211208-051101
        git checkout c08fb0aafb60234854aa86433da809fe5112f55e
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm SHELL=/bin/bash drivers/net/bonding/ drivers/net/dsa/ drivers/pinctrl/nuvoton/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:592:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:593:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:594:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:595:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:596:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:597:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:598:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:599:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:600:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:601:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:602:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:603:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:604:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:605:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:606:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:607:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:608:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:609:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:610:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:611:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:612:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:613:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:614:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:615:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:616:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:617:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:618:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:619:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:620:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:621:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:622:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:623:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:625:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:626:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:627:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:628:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:629:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:630:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:631:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:632:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:633:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:634:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:635:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:636:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:637:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:638:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:639:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:640:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:641:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:642:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:643:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:644:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:645:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:646:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:647:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:648:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:649:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:650:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:651:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:652:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:653:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:654:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:655:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:656:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:658:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:659:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:660:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:661:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:662:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:663:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:664:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:665:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:666:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:667:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:668:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:669:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:670:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:671:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:672:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:673:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:674:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:675:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:676:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:677:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:678:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:679:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:680:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:681:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:682:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:683:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:684:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:685:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:686:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:687:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:688:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:689:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:691:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:692:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:693:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:694:9: sparse: sparse: too many warnings

vim +592 drivers/pinctrl/nuvoton/pinctrl-wpcm450.c

c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  589  
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  590  static const struct wpcm450_pincfg pincfg[] = {
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  591  	/*		PIN	  FUNCTION 1		   FUNCTION 2 */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07 @592  	WPCM450_PINCFG(0,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  593  	WPCM450_PINCFG(1,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  594  	WPCM450_PINCFG(2,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  595  	WPCM450_PINCFG(3,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  596  	WPCM450_PINCFG(4,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  597  	WPCM450_PINCFG(5,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  598  	WPCM450_PINCFG(6,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  599  	WPCM450_PINCFG(7,	 none, NONE, 0,		  sdio, MFSEL1, 30),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  600  	WPCM450_PINCFG(8,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  601  	WPCM450_PINCFG(9,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  602  	WPCM450_PINCFG(10,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  603  	WPCM450_PINCFG(11,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  604  	WPCM450_PINCFG(12,	 gspi, MFSEL1, 24,	  sspi, MFSEL1, 31),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  605  	WPCM450_PINCFG(13,	 gspi, MFSEL1, 24,	  sspi, MFSEL1, 31),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  606  	WPCM450_PINCFG(14,	 gspi, MFSEL1, 24,	  sspi, MFSEL1, 31),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  607  	WPCM450_PINCFG(15,	 gspi, MFSEL1, 24,	  sspi, MFSEL1, 31),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  608  	WPCM450_PINCFG(16,	 none, NONE, 0,		  pwm6, MFSEL2, 22),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  609  	WPCM450_PINCFG(17,	 none, NONE, 0,		  pwm7, MFSEL2, 23),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  610  	WPCM450_PINCFG(18,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  611  	WPCM450_PINCFG(19,	 uinc, MFSEL1, 23,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  612  	WPCM450_PINCFG(20,	  hg0, MFSEL2, 24,	  pwm4, MFSEL2, 20),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  613  	WPCM450_PINCFG(21,	  hg1, MFSEL2, 25,	  pwm5, MFSEL2, 21),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  614  	WPCM450_PINCFG(22,	  hg2, MFSEL2, 26,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  615  	WPCM450_PINCFG(23,	  hg3, MFSEL2, 27,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  616  	WPCM450_PINCFG(24,	  hg4, MFSEL2, 28,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  617  	WPCM450_PINCFG(25,	  hg5, MFSEL2, 29,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  618  	WPCM450_PINCFG(26,	 smb5, MFSEL1, 2,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  619  	WPCM450_PINCFG(27,	 smb5, MFSEL1, 2,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  620  	WPCM450_PINCFG(28,	 smb4, MFSEL1, 1,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  621  	WPCM450_PINCFG(29,	 smb4, MFSEL1, 1,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  622  	WPCM450_PINCFG(30,	 smb3, MFSEL1, 0,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  623  	WPCM450_PINCFG(31,	 smb3, MFSEL1, 0,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  624  
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  625  	WPCM450_PINCFG(32,	 scs1, MFSEL1, 3,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  626  	WPCM450_PINCFG(33,	 scs2, MFSEL1, 4,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  627  	WPCM450_PINCFG(34,	 scs3, MFSEL1, 5,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  628  	WPCM450_PINCFG(35,	 xcs1, MFSEL1, 29,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  629  	WPCM450_PINCFG(36,	 xcs2, MFSEL1, 28,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  630  	WPCM450_PINCFG(37,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  631  	WPCM450_PINCFG(38,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  632  	WPCM450_PINCFG(39,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  633  	WPCM450_PINCFG(40,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  634  	WPCM450_PINCFG(41,	  bsp, MFSEL1, 9,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  635  	WPCM450_PINCFG(42,	  bsp, MFSEL1, 9,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  636  	WPCM450_PINCFG(43,	 hsp1, MFSEL1, 10,	  sdio, MFSEL1, 30),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  637  	WPCM450_PINCFG(44,	 hsp1, MFSEL1, 10,	  sdio, MFSEL1, 30),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  638  	WPCM450_PINCFG(45,	 hsp1, MFSEL1, 10,	  sdio, MFSEL1, 30),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  639  	WPCM450_PINCFG(46,	 hsp1, MFSEL1, 10,	  sdio, MFSEL1, 30),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  640  	WPCM450_PINCFG(47,	 hsp1, MFSEL1, 10,	  sdio, MFSEL1, 30),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  641  	WPCM450_PINCFG(48,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  642  	WPCM450_PINCFG(49,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  643  	WPCM450_PINCFG(50,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  644  	WPCM450_PINCFG(51,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  645  	WPCM450_PINCFG(52,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  646  	WPCM450_PINCFG(53,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  647  	WPCM450_PINCFG(54,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  648  	WPCM450_PINCFG(55,	 hsp2, MFSEL1, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  649  	WPCM450_PINCFG(56,	r1err, MFSEL1, 12,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  650  	WPCM450_PINCFG(57,	 r1md, MFSEL1, 13,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  651  	WPCM450_PINCFG(58,	 r1md, MFSEL1, 13,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  652  	WPCM450_PINCFG(59,	  hg6, MFSEL2, 30,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  653  	WPCM450_PINCFG(60,	  hg7, MFSEL2, 31,	  sdio, MFSEL1, 30),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  654  	WPCM450_PINCFG(61,	 hsp1, MFSEL1, 10,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  655  	WPCM450_PINCFG(62,	 hsp1, MFSEL1, 10,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  656  	WPCM450_PINCFG(63,	 hsp1, MFSEL1, 10,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  657  
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  658  	WPCM450_PINCFG(64,	  fi0, MFSEL2, 0,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  659  	WPCM450_PINCFG(65,	  fi1, MFSEL2, 1,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  660  	WPCM450_PINCFG(66,	  fi2, MFSEL2, 2,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  661  	WPCM450_PINCFG(67,	  fi3, MFSEL2, 3,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  662  	WPCM450_PINCFG(68,	  fi4, MFSEL2, 4,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  663  	WPCM450_PINCFG(69,	  fi5, MFSEL2, 5,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  664  	WPCM450_PINCFG(70,	  fi6, MFSEL2, 6,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  665  	WPCM450_PINCFG(71,	  fi7, MFSEL2, 7,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  666  	WPCM450_PINCFG(72,	  fi8, MFSEL2, 8,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  667  	WPCM450_PINCFG(73,	  fi9, MFSEL2, 9,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  668  	WPCM450_PINCFG(74,	 fi10, MFSEL2, 10,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  669  	WPCM450_PINCFG(75,	 fi11, MFSEL2, 11,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  670  	WPCM450_PINCFG(76,	 fi12, MFSEL2, 12,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  671  	WPCM450_PINCFG(77,	 fi13, MFSEL2, 13,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  672  	WPCM450_PINCFG(78,	 fi14, MFSEL2, 14,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  673  	WPCM450_PINCFG(79,	 fi15, MFSEL2, 15,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  674  	WPCM450_PINCFG(80,	 pwm0, MFSEL2, 16,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  675  	WPCM450_PINCFG(81,	 pwm1, MFSEL2, 17,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  676  	WPCM450_PINCFG(82,	 pwm2, MFSEL2, 18,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  677  	WPCM450_PINCFG(83,	 pwm3, MFSEL2, 19,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  678  	WPCM450_PINCFG(84,	rmii2, MFSEL1, 14,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  679  	WPCM450_PINCFG(85,	rmii2, MFSEL1, 14,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  680  	WPCM450_PINCFG(86,	rmii2, MFSEL1, 14,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  681  	WPCM450_PINCFG(87,	rmii2, MFSEL1, 14,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  682  	WPCM450_PINCFG(88,	rmii2, MFSEL1, 14,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  683  	WPCM450_PINCFG(89,	rmii2, MFSEL1, 14,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  684  	WPCM450_PINCFG(90,	r2err, MFSEL1, 15,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  685  	WPCM450_PINCFG(91,	 r2md, MFSEL1, 16,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  686  	WPCM450_PINCFG(92,	 r2md, MFSEL1, 16,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  687  	WPCM450_PINCFG(93,	 kbcc, MFSEL1, 17,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  688  	WPCM450_PINCFG(94,	 kbcc, MFSEL1, 17,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  689  	WPCM450_PINCFG(95,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  690  
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  691  	WPCM450_PINCFG(96,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  692  	WPCM450_PINCFG(97,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  693  	WPCM450_PINCFG(98,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  694  	WPCM450_PINCFG(99,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  695  	WPCM450_PINCFG(100,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  696  	WPCM450_PINCFG(101,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  697  	WPCM450_PINCFG(102,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  698  	WPCM450_PINCFG(103,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  699  	WPCM450_PINCFG(104,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  700  	WPCM450_PINCFG(105,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  701  	WPCM450_PINCFG(106,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  702  	WPCM450_PINCFG(107,	 none, NONE, 0,		  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  703  	WPCM450_PINCFG(108,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  704  	WPCM450_PINCFG(109,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  705  	WPCM450_PINCFG(110,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  706  	WPCM450_PINCFG(111,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  707  	WPCM450_PINCFG(112,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  708  	WPCM450_PINCFG(113,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  709  	WPCM450_PINCFG(114,	 smb0, MFSEL1, 6,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  710  	WPCM450_PINCFG(115,	 smb0, MFSEL1, 6,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  711  	WPCM450_PINCFG(116,	 smb1, MFSEL1, 7,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  712  	WPCM450_PINCFG(117,	 smb1, MFSEL1, 7,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  713  	WPCM450_PINCFG(118,	 smb2, MFSEL1, 8,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  714  	WPCM450_PINCFG(119,	 smb2, MFSEL1, 8,	  none, NONE, 0),
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  715  	WPCM450_PINCFG(120,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  716  	WPCM450_PINCFG(121,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  717  	WPCM450_PINCFG(122,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  718  	WPCM450_PINCFG(123,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  719  	WPCM450_PINCFG(124,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  720  	WPCM450_PINCFG(125,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  721  	WPCM450_PINCFG(126,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  722  	WPCM450_PINCFG(127,	 none, NONE, 0,		  none, NONE, 0), /* DVO */
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  723  };
c08fb0aafb60234 Jonathan Neuschäfer 2021-12-07  724  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 53+ messages in thread
* Re: [PATCH v2 5/8] pinctrl: nuvoton: Add driver for WPCM450
@ 2021-12-19  1:24 kernel test robot
  0 siblings, 0 replies; 53+ messages in thread
From: kernel test robot @ 2021-12-19  1:24 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 15100 bytes --]

CC: llvm(a)lists.linux.dev
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20211207210823.1975632-6-j.neuschaefer@gmx.net>
References: <20211207210823.1975632-6-j.neuschaefer@gmx.net>
TO: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
TO: linux-gpio(a)vger.kernel.org
TO: devicetree(a)vger.kernel.org
CC: Linus Walleij <linus.walleij@linaro.org>
CC: Rob Herring <robh+dt@kernel.org>
CC: openbmc(a)lists.ozlabs.org
CC: Tomer Maimon <tmaimon77@gmail.com>
CC: Joel Stanley <joel@jms.id.au>
CC: linux-kernel(a)vger.kernel.org
CC: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>

Hi "Jonathan,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on robh/for-next linus/master v5.16-rc5 next-20211217]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Jonathan-Neusch-fer/Nuvoton-WPCM450-pinctrl-and-GPIO-driver/20211208-051101
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
:::::: branch date: 11 days ago
:::::: commit date: 11 days ago
config: arm-randconfig-c002-20211209 (https://download.01.org/0day-ci/archive/20211219/202112190905.PgqrgXiI-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/c08fb0aafb60234854aa86433da809fe5112f55e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jonathan-Neusch-fer/Nuvoton-WPCM450-pinctrl-and-GPIO-driver/20211208-051101
        git checkout c08fb0aafb60234854aa86433da809fe5112f55e
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm clang-analyzer 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


clang-analyzer warnings: (new ones prefixed by >>)
           ^
   include/linux/printk.h:387:14: note: expanded from macro '__printk_index_emit'
                                   .level = __builtin_constant_p(_level) ? (_level) : NULL, \
                                            ^
   drivers/bus/intel-ixp4xx-eb.c:195:2: note: Loop condition is false.  Exiting loop
           dev_info(eb->dev, "CS%d at %#08x, size %#08x, config before: %#08x\n",
           ^
   include/linux/dev_printk.h:150:2: note: expanded from macro 'dev_info'
           dev_printk_index_wrap(_dev_info, KERN_INFO, dev, dev_fmt(fmt), ##__VA_ARGS__)
           ^
   include/linux/dev_printk.h:109:3: note: expanded from macro 'dev_printk_index_wrap'
                   dev_printk_index_emit(level, fmt);                      \
                   ^
   include/linux/dev_printk.h:105:2: note: expanded from macro 'dev_printk_index_emit'
           printk_index_subsys_emit("%s %s: ", level, fmt)
           ^
   include/linux/printk.h:417:2: note: expanded from macro 'printk_index_subsys_emit'
           __printk_index_emit(fmt, level, subsys_fmt_prefix)
           ^
   include/linux/printk.h:373:2: note: expanded from macro '__printk_index_emit'
           do {                                                            \
           ^
   drivers/bus/intel-ixp4xx-eb.c:200:15: note: '?' condition is false
           cur_cssize = roundup_pow_of_two(cur_cssize);
                        ^
   include/linux/log2.h:176:2: note: expanded from macro 'roundup_pow_of_two'
           __builtin_constant_p(n) ? (             \
           ^
   drivers/bus/intel-ixp4xx-eb.c:200:15: note: Calling '__roundup_pow_of_two'
           cur_cssize = roundup_pow_of_two(cur_cssize);
                        ^
   include/linux/log2.h:180:2: note: expanded from macro 'roundup_pow_of_two'
           __roundup_pow_of_two(n)                 \
           ^~~~~~~~~~~~~~~~~~~~~~~
   include/linux/log2.h:57:16: note: Calling 'fls_long'
           return 1UL << fls_long(n - 1);
                         ^~~~~~~~~~~~~~~
   include/linux/bitops.h:188:2: note: Taking true branch
           if (sizeof(l) == 4)
           ^
   include/linux/bitops.h:189:10: note: Calling 'fls'
                   return fls(l);
                          ^~~~~~
   include/asm-generic/bitops/fls.h:15:2: note: 'r' initialized to 32
           int r = 32;
           ^~~~~
   include/asm-generic/bitops/fls.h:17:6: note: Assuming 'x' is not equal to 0, which participates in a condition later
           if (!x)
               ^~
   include/asm-generic/bitops/fls.h:17:2: note: Taking false branch
           if (!x)
           ^
   include/asm-generic/bitops/fls.h:19:6: note: Assuming the condition is false
           if (!(x & 0xffff0000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:19:2: note: Taking false branch
           if (!(x & 0xffff0000u)) {
           ^
   include/asm-generic/bitops/fls.h:23:6: note: Assuming the condition is false
           if (!(x & 0xff000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:23:2: note: Taking false branch
           if (!(x & 0xff000000u)) {
           ^
   include/asm-generic/bitops/fls.h:27:6: note: Assuming the condition is false
           if (!(x & 0xf0000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:27:2: note: Taking false branch
           if (!(x & 0xf0000000u)) {
           ^
   include/asm-generic/bitops/fls.h:31:6: note: Assuming the condition is false
           if (!(x & 0xc0000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:31:2: note: Taking false branch
           if (!(x & 0xc0000000u)) {
           ^
   include/asm-generic/bitops/fls.h:35:6: note: Assuming the condition is false
           if (!(x & 0x80000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:35:2: note: Taking false branch
           if (!(x & 0x80000000u)) {
           ^
   include/asm-generic/bitops/fls.h:39:2: note: Returning the value 32 (loaded from 'r')
           return r;
           ^~~~~~~~
   include/linux/bitops.h:189:10: note: Returning from 'fls'
                   return fls(l);
                          ^~~~~~
   include/linux/bitops.h:189:3: note: Returning the value 32
                   return fls(l);
                   ^~~~~~~~~~~~~
   include/linux/log2.h:57:16: note: Returning from 'fls_long'
           return 1UL << fls_long(n - 1);
                         ^~~~~~~~~~~~~~~
   include/linux/log2.h:57:13: note: The result of the left shift is undefined due to shifting by '32', which is greater or equal to the width of type 'unsigned long'
           return 1UL << fls_long(n - 1);
                      ^  ~~~~~~~~~~~~~~~
   Suppressed 2 warnings (2 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   10 warnings generated.
>> drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c:1562:26: warning: Value stored to 'npcm' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
           struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev);
                                   ^~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c:1562:26: note: Value stored to 'npcm' during its initialization is never read
           struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev);
                                   ^~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c:1590:26: warning: Value stored to 'npcm' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
           struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev);
                                   ^~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c:1590:26: note: Value stored to 'npcm' during its initialization is never read
           struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev);
                                   ^~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 8 warnings (8 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   10 warnings generated.
   drivers/pinctrl/samsung/pinctrl-samsung.c:1065:19: warning: Assigned value is garbage or undefined [clang-analyzer-core.uninitialized.Assign]
                   bank->eint_base = virt_base[0];
                                   ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1102:6: note: Assuming 'drvdata' is non-null
           if (!drvdata)
               ^~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1102:2: note: Taking false branch
           if (!drvdata)
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1105:9: note: Calling 'samsung_pinctrl_get_soc_data'
           ctrl = samsung_pinctrl_get_soc_data(drvdata, pdev);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1019:9: note: Calling 'samsung_pinctrl_get_soc_data_for_of_alias'
           ctrl = samsung_pinctrl_get_soc_data_for_of_alias(pdev);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:991:6: note: Assuming 'id' is >= 0
           if (id < 0) {
               ^~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:991:2: note: Taking false branch
           if (id < 0) {
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:997:6: note: Assuming 'id' is < field 'num_ctrl'
           if (id >= of_data->num_ctrl) {
               ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:997:2: note: Taking false branch
           if (id >= of_data->num_ctrl) {
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1002:2: note: Returning pointer, which participates in a condition later
           return &(of_data->ctrl[id]);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1019:9: note: Returning from 'samsung_pinctrl_get_soc_data_for_of_alias'
           ctrl = samsung_pinctrl_get_soc_data_for_of_alias(pdev);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1020:6: note: Assuming 'ctrl' is non-null
           if (!ctrl)
               ^~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1020:2: note: Taking false branch
           if (!ctrl)
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1026:17: note: Calling 'devm_kcalloc'
           d->pin_banks = devm_kcalloc(&pdev->dev, d->nr_banks,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/device.h:223:9: note: Calling 'devm_kmalloc_array'
           return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/device.h:215:2: note: Taking false branch
           if (unlikely(check_mul_overflow(n, size, &bytes)))
           ^
   include/linux/device.h:218:2: note: Returning pointer, which participates in a condition later
           return devm_kmalloc(dev, bytes, flags);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/device.h:223:9: note: Returning from 'devm_kmalloc_array'
           return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/device.h:223:2: note: Returning pointer, which participates in a condition later
           return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1026:17: note: Returning from 'devm_kcalloc'
           d->pin_banks = devm_kcalloc(&pdev->dev, d->nr_banks,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1028:6: note: Assuming field 'pin_banks' is non-null
           if (!d->pin_banks)
               ^~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1028:2: note: Taking false branch
           if (!d->pin_banks)
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1031:6: note: Assuming the condition is false
           if (ctrl->nr_ext_resources + 1 > SAMSUNG_PINCTRL_NUM_RESOURCES)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1031:2: note: Taking false branch
           if (ctrl->nr_ext_resources + 1 > SAMSUNG_PINCTRL_NUM_RESOURCES)
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1034:14: note: Assuming the condition is false
           for (i = 0; i < ctrl->nr_ext_resources + 1; i++) {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1034:2: note: Loop condition is false. Execution continues on line 1048
           for (i = 0; i < ctrl->nr_ext_resources + 1; i++) {
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1050:14: note: Assuming 'i' is < field 'nr_banks'
           for (i = 0; i < ctrl->nr_banks; ++i, ++bdata, ++bank) {
                       ^~~~~~~~~~~~~~~~~~
   drivers/pinctrl/samsung/pinctrl-samsung.c:1050:2: note: Loop condition is true.  Entering loop body
           for (i = 0; i < ctrl->nr_banks; ++i, ++bdata, ++bank) {
           ^
   drivers/pinctrl/samsung/pinctrl-samsung.c:1060:3: note: Loop condition is false.  Exiting loop
                   raw_spin_lock_init(&bank->slock);

vim +/npcm +1562 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c

3b588e43ee5c7a Tomer Maimon 2018-08-08  1559  
3b588e43ee5c7a Tomer Maimon 2018-08-08  1560  static int npcm7xx_get_groups_count(struct pinctrl_dev *pctldev)
3b588e43ee5c7a Tomer Maimon 2018-08-08  1561  {
3b588e43ee5c7a Tomer Maimon 2018-08-08 @1562  	struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev);
3b588e43ee5c7a Tomer Maimon 2018-08-08  1563  
3b588e43ee5c7a Tomer Maimon 2018-08-08  1564  	dev_dbg(npcm->dev, "group size: %d\n", ARRAY_SIZE(npcm7xx_groups));
3b588e43ee5c7a Tomer Maimon 2018-08-08  1565  	return ARRAY_SIZE(npcm7xx_groups);
3b588e43ee5c7a Tomer Maimon 2018-08-08  1566  }
3b588e43ee5c7a Tomer Maimon 2018-08-08  1567  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

end of thread, other threads:[~2021-12-19  1:24 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-07 21:08 [PATCH v2 0/8] Nuvoton WPCM450 pinctrl and GPIO driver Jonathan Neuschäfer
2021-12-07 21:08 ` Jonathan Neuschäfer
2021-12-07 21:08 ` [PATCH v2 1/8] dt-bindings: arm/npcm: Add binding for global control registers (GCR) Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
2021-12-08 13:44   ` Rob Herring
2021-12-08 13:44     ` Rob Herring
2021-12-10 14:54   ` Rob Herring
2021-12-10 14:54     ` Rob Herring
2021-12-12 23:12     ` Jonathan Neuschäfer
2021-12-12 23:12       ` Jonathan Neuschäfer
2021-12-07 21:08 ` [PATCH v2 2/8] MAINTAINERS: Match all of bindings/arm/npcm/ as part of NPCM architecture Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
2021-12-07 21:08 ` [PATCH v2 3/8] ARM: dts: wpcm450: Add global control registers (GCR) node Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
2021-12-07 21:08 ` [PATCH v2 4/8] dt-bindings: pinctrl: Add Nuvoton WPCM450 Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
2021-12-08 13:44   ` Rob Herring
2021-12-08 13:44     ` Rob Herring
2021-12-10 15:18   ` Rob Herring
2021-12-10 15:18     ` Rob Herring
2021-12-12 23:38     ` Jonathan Neuschäfer
2021-12-12 23:38       ` Jonathan Neuschäfer
2021-12-07 21:08 ` [PATCH v2 5/8] pinctrl: nuvoton: Add driver for WPCM450 Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
2021-12-08  0:51   ` kernel test robot
2021-12-08  0:51     ` kernel test robot
2021-12-08  0:51     ` kernel test robot
2021-12-08  2:34   ` kernel test robot
2021-12-08  2:34     ` kernel test robot
2021-12-08  2:34     ` kernel test robot
2021-12-08 11:24   ` Andy Shevchenko
2021-12-08 13:58     ` Jonathan Neuschäfer
2021-12-08 13:58       ` Jonathan Neuschäfer
2021-12-08 14:14       ` Andy Shevchenko
2021-12-08 14:14         ` Andy Shevchenko
2021-12-12 23:02         ` Jonathan Neuschäfer
2021-12-12 23:02           ` Jonathan Neuschäfer
2021-12-09  8:26       ` Zev Weiss
2021-12-09  8:26         ` Zev Weiss
2021-12-10  1:41         ` Linus Walleij
2021-12-10  1:41           ` Linus Walleij
2021-12-12 23:03           ` Jonathan Neuschäfer
2021-12-12 23:03             ` Jonathan Neuschäfer
2021-12-07 21:08 ` [PATCH v2 6/8] ARM: dts: wpcm450: Add pinctrl and GPIO nodes Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
2021-12-10  1:42   ` Linus Walleij
2021-12-10  1:42     ` Linus Walleij
2021-12-07 21:08 ` [PATCH v2 7/8] ARM: dts: wpcm450: Add pin functions Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
2021-12-07 21:08 ` [PATCH v2 8/8] ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add GPIO LEDs and buttons Jonathan Neuschäfer
2021-12-07 21:08   ` Jonathan Neuschäfer
  -- strict thread matches above, loose matches on Subject: below --
2021-12-09 18:40 [PATCH v2 5/8] pinctrl: nuvoton: Add driver for WPCM450 kernel test robot
2021-12-19  1:24 kernel test robot

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.