All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v5 5/9] pinctrl: nuvoton: Add driver for WPCM450
@ 2022-01-30  8:53 kernel test robot
  0 siblings, 0 replies; 15+ messages in thread
From: kernel test robot @ 2022-01-30  8:53 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20220129115228.2257310-6-j.neuschaefer@gmx.net>
References: <20220129115228.2257310-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: Andy Shevchenko <andy.shevchenko@gmail.com>
CC: Avi Fishman <avifishman70@gmail.com>

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.17-rc1 next-20220128]
[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/20220129-195955
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
:::::: branch date: 18 hours ago
:::::: commit date: 18 hours ago
config: riscv-randconfig-s031-20220129 (https://download.01.org/0day-ci/archive/20220130/202201301326.jE0NI0et-lkp(a)intel.com/config)
compiler: riscv32-linux-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/3fd91ea1bad905592e89c8f987f6bd3740329b80
        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/20220129-195955
        git checkout 3fd91ea1bad905592e89c8f987f6bd3740329b80
        # 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=riscv SHELL=/bin/bash

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: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:657: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:690: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: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:695:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:696:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:697:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:698:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:699:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:700:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:701:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:702:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:703:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:704:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:705:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:706:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:707:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:708:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:709:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:710:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:711:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:712:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:713:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:714:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:715:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:716:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:717:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:718:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:719:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:720:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:721:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:722:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:723:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:725:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:726:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:727:9: sparse: sparse: obsolete array initializer, use C99 syntax
   drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:728:9: sparse: sparse: too many warnings

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

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

---
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] 15+ messages in thread
* [PATCH v5 0/9] Nuvoton WPCM450 pinctrl and GPIO driver
@ 2022-01-29 11:52 Jonathan Neuschäfer
  2022-01-29 11:52   ` Jonathan Neuschäfer
  0 siblings, 1 reply; 15+ messages in thread
From: Jonathan Neuschäfer @ 2022-01-29 11:52 UTC (permalink / raw)
  To: linux-gpio, devicetree
  Cc: Linus Walleij, Rob Herring, openbmc, Tomer Maimon, Joel Stanley,
	linux-kernel, Andy Shevchenko, Avi Fishman, Tali Perry,
	Patrick Venture, Nancy Yuen, Benjamin Fair,
	Jonathan Neuschäfer

This is version 5 of the WPCM450 pinctrl/GPIO driver patchset.

I was originally just going to rebase the patchset on top of v5.17-rc1,
but while testing, I found that the IRQ handling code violated locking
rules, specifically that it used spin locks (which can sleep on RT kernels)
in IRQ contexts. So I made a few changes to fix that, mainly switching
to raw spin locks.

Best regards,
Jonathan Neuschäfer

v4: https://lore.kernel.org/lkml/20220109173000.1242703-1-j.neuschaefer@gmx.net/
v3: https://lore.kernel.org/lkml/20211224200935.93817-1-j.neuschaefer@gmx.net/
v2: https://lore.kernel.org/lkml/20211207210823.1975632-1-j.neuschaefer@gmx.net/

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 (9):
  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
  ARM: dts: wpcm450: Add pinmux information to UART0

 .../bindings/arm/npcm/nuvoton,gcr.yaml        |   48 +
 .../pinctrl/nuvoton,wpcm450-pinctrl.yaml      |  160 +++
 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     | 1150 +++++++++++++++++
 9 files changed, 1807 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.34.1


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

end of thread, other threads:[~2022-01-30 20:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-30  8:53 [PATCH v5 5/9] pinctrl: nuvoton: Add driver for WPCM450 kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-01-29 11:52 [PATCH v5 0/9] Nuvoton WPCM450 pinctrl and GPIO driver Jonathan Neuschäfer
2022-01-29 11:52 ` [PATCH v5 5/9] pinctrl: nuvoton: Add driver for WPCM450 Jonathan Neuschäfer
2022-01-29 11:52   ` Jonathan Neuschäfer
2022-01-29 13:48   ` kernel test robot
2022-01-29 13:48     ` kernel test robot
2022-01-29 13:48     ` kernel test robot
2022-01-29 14:09   ` kernel test robot
2022-01-29 14:09     ` kernel test robot
2022-01-29 14:09     ` kernel test robot
2022-01-30 18:47     ` Andy Shevchenko
2022-01-30 18:47       ` Andy Shevchenko
2022-01-30 18:47       ` Andy Shevchenko
2022-01-30 20:17       ` Jonathan Neuschäfer
2022-01-30 20:17         ` Jonathan Neuschäfer
2022-01-30 20:17         ` Jonathan Neuschäfer

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.