Re: regmap: Failed to create debugfs directory

From: Fabio Estevam
Date: Thu Mar 01 2018 - 13:28:46 EST


On Thu, Mar 1, 2018 at 3:19 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
> Hi,
>
> Running linux-next 20180301 on a imx6q-sabresd the following
> regmap-debugfs warnings are seen:
>
> [ 0.067965] CPU identified as i.MX6Q, silicon rev 1.2
> [ 0.083466] vdd1p1: supplied by regulator-dummy
> [ 0.084768] vdd3p0: supplied by regulator-dummy
> [ 0.085816] vdd2p5: supplied by regulator-dummy
> [ 0.109831] (NULL device *): Failed to create debugfs directory
> ....
>
> [ 2.961117] input: EETI eGalax Touch Screen as
> /devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-0004/input/input0
> [ 2.977027] (NULL device *): Failed to create debugfs directory
> [ 2.983929] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered
> 20cc000.snvs:snvs-rtc-lp as rtc0
> [ 2.993457] i2c /dev entries driver
> [ 3.002084] (NULL device *): Failed to create debugfs directory
> [ 3.010452] imx2-wdt 20c0000.wdog: timeout 60 sec (nowayout=0)

This only happens when the regmap name is 'dummy'.

[ 0.083651] vdd1p1: supplied by regulator-dummy
[ 0.084929] vdd3p0: supplied by regulator-dummy
[ 0.085974] vdd2p5: supplied by regulator-dummy
[ 0.110028] *****regmap name: dummy
[ 0.110090] (NULL device *): regmap*** Failed to create debugfs directory


[ 3.001355] input: EETI eGalax Touch Screen as
/devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-0004/input/input0
[ 3.016820] *****regmap name: dummy
[ 3.020450] (NULL device *): regmap*** Failed to create debugfs directory
[ 3.028316] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered
20cc000.snvs:snvs-rtc-lp as rtc0
[ 3.037854] i2c /dev entries driver
[ 3.046467] *****regmap name: dummy
[ 3.050078] (NULL device *): regmap*** Failed to create debugfs directory

How should we treat the dummy regmap entries?

Thanks