Re: [PATCH v3 1/2] dt-bindings: input/touchscreen: add bindings for msg26xx

2021-02-09 Thread Jeff LaBundy
rent devices later with similar part numbers. Therefore, some subsystems (e.g. iio) tend to frown upon wildcards for that reason. You should try and make the driver cover as many devices as possible. But if the driver is only known to work for one device then I don't think you can use a wildcard in the name unl

Re: [PATCH][next] Input: iqs5xx: Ensure error_bl is initialized on error exit path

2021-01-28 Thread Jeff LaBundy
a(client); > - int error, error_bl; > + int error, error_bl = 0; > u8 *pmap; > > if (iqs5xx->bl_status == IQS5XX_BL_STATUS_NONE) > -- > 2.29.2 > Kind regards, Jeff LaBundy

Re: [PATCH v9 1/4] dt-bindings: mfd: Fix schema warnings for pwm-leds

2021-01-17 Thread Jeff LaBundy
Hi Alexander, Thanks again for your work on this. On Fri, Jan 15, 2021 at 10:42:39AM +0100, Alexander Dahl wrote: > Hello Jeff, > > On Thu, Jan 14, 2021 at 09:50:50PM -0600, Jeff LaBundy wrote: > > On Thu, Jan 14, 2021 at 10:03:12AM +, Lee Jones wrote: > > > On Mon

[PATCH v2 6/6] mfd: iqs62x: Do not change clock frequency during ATI

2021-01-17 Thread Jeff LaBundy
-off-by: Jeff LaBundy Acked-for-MFD-by: Lee Jones --- Changes in v2: - Added Acked-for-MFD-by trailer drivers/mfd/iqs62x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c index 9b5c389..d1fc38a 100644 --- a/drivers/mfd/iqs62x.c +++ b

[PATCH v2 5/6] mfd: iqs62x: Do not poll during ATI

2021-01-17 Thread Jeff LaBundy
registered until this happens. The former logic that scaled ATI timeout and filter settling delay is not carried forward with the new implementation, as it produces overly conservative delays at lower clock rates. Instead, a single pair of delays that covers all cases is used. Signed-off-by: Jeff

[PATCH v2 2/6] mfd: iqs62x: Remove unused bit mask

2021-01-17 Thread Jeff LaBundy
The register write that performed a mandatory soft reset during probe was removed during development of the driver, however the IQS62X_SYS_SETTINGS_SOFT_RESET bit mask was left behind. Remove it to keep stray macros out of the driver. Signed-off-by: Jeff LaBundy Acked-for-MFD-by: Lee Jones

[PATCH v2 4/6] mfd: iqs62x: Increase interrupt handler return delay

2021-01-17 Thread Jeff LaBundy
us) plus margin. Signed-off-by: Jeff LaBundy Acked-for-MFD-by: Lee Jones --- Changes in v2: - Added Acked-for-MFD-by trailer drivers/mfd/iqs62x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c index 7a1ff7c..07c9725 100644

[PATCH v2 3/6] mfd: iqs62x: Rename regmap_config struct

2021-01-17 Thread Jeff LaBundy
The regmap member of the driver's private data is called 'regmap', but the regmap_config struct is called 'iqs62x_map_config'. Rename the latter to 'iqs62x_regmap_config' for consistency. Signed-off-by: Jeff LaBundy Acked-for-MFD-by: Lee Jones --- Changes in v2: - Added Acked-for-MFD

[PATCH v2 1/6] mfd: iqs62x: Remove superfluous whitespace above fallthroughs

2021-01-17 Thread Jeff LaBundy
("treewide: Use fallthrough pseudo-keyword") Signed-off-by: Jeff LaBundy Acked-for-MFD-by: Lee Jones --- Changes in v2: - Added Acked-for-MFD-by trailer drivers/mfd/iqs62x.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c index 761b4e

[PATCH v2 0/6] mfd: iqs62x: Minor cosmetic and functional improvements

2021-01-17 Thread Jeff LaBundy
with other Azoteq devices that have similar functions. Jeff LaBundy (6): mfd: iqs62x: Remove superfluous whitespace above fallthroughs mfd: iqs62x: Remove unused bit mask mfd: iqs62x: Rename regmap_config struct mfd: iqs62x: Increase interrupt handler return delay mfd: iqs62x: Do not poll

Re: [PATCH 5/6] mfd: iqs62x: Do not poll during ATI

2021-01-14 Thread Jeff LaBundy
Hi Lee, Thank you for taking a look at the series. On Thu, Jan 14, 2021 at 10:17:11AM +, Lee Jones wrote: > On Sun, 03 Jan 2021, Jeff LaBundy wrote: > > > After loading firmware, the driver triggers ATI (calibration) with > > the newly loaded register configurat

Re: [PATCH v9 1/4] dt-bindings: mfd: Fix schema warnings for pwm-leds

2021-01-14 Thread Jeff LaBundy
leds: 'panel' does not match any of the regexes: '^led(-[0-9a-f]+)?$', > > 'pinctrl-[0-9]+' > > From schema: > > /home/alex/src/linux/leds/Documentation/devicetree/bindings/leds/leds-pwm.yaml > > > > Signed-off-by: Alexander Dahl > > A

Re: [PATCH] Input: da7280 - protect OF match table with CONFIG_OF

2021-01-03 Thread Jeff LaBundy
Hi Dmitry, On Sun, Jan 03, 2021 at 05:58:41PM -0800, Dmitry Torokhov wrote: > Hi Jeff, > > On Sat, Dec 19, 2020 at 08:01:09PM -0600, Jeff LaBundy wrote: > > Hi Dmitry, > > > > On Fri, Dec 18, 2020 at 04:49:48PM +, Roy Im wrote: > > > On Friday, Decemb

[PATCH 2/6] mfd: iqs62x: Remove unused bit mask

2021-01-03 Thread Jeff LaBundy
The register write that performed a mandatory soft reset during probe was removed during development of the driver, however the IQS62X_SYS_SETTINGS_SOFT_RESET bit mask was left behind. Remove it to keep stray macros out of the driver. Signed-off-by: Jeff LaBundy --- drivers/mfd/iqs62x.c | 1

[PATCH 4/6] mfd: iqs62x: Increase interrupt handler return delay

2021-01-03 Thread Jeff LaBundy
us) plus margin. Signed-off-by: Jeff LaBundy --- drivers/mfd/iqs62x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c index 7a1ff7c..07c9725 100644 --- a/drivers/mfd/iqs62x.c +++ b/drivers/mfd/iqs62x.c @@ -533,7 +533,7 @@ static

[PATCH 3/6] mfd: iqs62x: Rename regmap_config struct

2021-01-03 Thread Jeff LaBundy
The regmap member of the driver's private data is called 'regmap', but the regmap_config struct is called 'iqs62x_map_config'. Rename the latter to 'iqs62x_regmap_config' for consistency. Signed-off-by: Jeff LaBundy --- drivers/mfd/iqs62x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 6/6] mfd: iqs62x: Do not change clock frequency during ATI

2021-01-03 Thread Jeff LaBundy
-off-by: Jeff LaBundy --- drivers/mfd/iqs62x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c index 9fdf32f..3b32542 100644 --- a/drivers/mfd/iqs62x.c +++ b/drivers/mfd/iqs62x.c @@ -81,6 +81,7 @@ #define IQS62X_FW_REC_TYPE_MASK

[PATCH 5/6] mfd: iqs62x: Do not poll during ATI

2021-01-03 Thread Jeff LaBundy
registered until this happens. The former logic that scaled ATI timeout and filter settling delay is not carried forward with the new implementation, as it produces overly conservative delays at lower clock rates. Instead, a single pair of delays that covers all cases is used. Signed-off-by: Jeff

[PATCH 0/6] mfd: iqs62x: Minor cosmetic and functional improvements

2021-01-03 Thread Jeff LaBundy
with other Azoteq devices that have similar functions. Jeff LaBundy (6): mfd: iqs62x: Remove superfluous whitespace above fallthroughs mfd: iqs62x: Remove unused bit mask mfd: iqs62x: Rename regmap_config struct mfd: iqs62x: Increase interrupt handler return delay mfd: iqs62x: Do not poll

[PATCH 1/6] mfd: iqs62x: Remove superfluous whitespace above fallthroughs

2021-01-03 Thread Jeff LaBundy
("treewide: Use fallthrough pseudo-keyword") Signed-off-by: Jeff LaBundy --- drivers/mfd/iqs62x.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c index 761b4ef..ec4c790 100644 --- a/drivers/mfd/iqs62x.c +++ b/drivers/mfd/iqs62x.c @@ -13

Re: [PATCH] Input: da7280 - protect OF match table with CONFIG_OF

2020-12-19 Thread Jeff LaBundy
vice.h? This includes mod_devicetable.h which in turn defines the of_device_id struct (even if CONFIG_OF is not set). The reason for asking is because it seems many drivers do not include these guards. > > > > static const struct i2c_device_id da7280_i2c_id[] = { > > { "da7280", }, > > -- > > 2.29.2.729.g45daf8777d-goog > > > > > > -- > > Dmitry > > Thanks! > > Acked-by: Roy Im > Kind regards, Jeff LaBundy

Re: [PATCH v7 03/12] dt-bindings: mfd: Fix schema warnings for pwm-leds

2020-10-05 Thread Jeff LaBundy
- > 2.20.1 > I like the consistency this brings. My only feedback is that in the other examples I found (common.yaml and leds-gpio.yaml), the children count off from 0 (e.g. led-0) instead of 1 as your series appears to. That's not a huge deal; it simply seems more consistent to count from the first index allowed by the regex (0). The patch is still fine, and so: Acked-by: Jeff LaBundy Kind regards, Jeff LaBundy

Re: [PATCH] iio: light: iqs621: remove usage of iio_priv_to_dev()

2020-05-22 Thread Jeff LaBundy
of the > iio_priv_to_dev() altogether. > > For this driver, removing iio_priv_to_dev() means keeping a reference > on the state struct. > > Signed-off-by: Alexandru Ardelean > --- > drivers/iio/light/iqs621-als.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-)

Re: [PATCH] iio: position: iqs624: remove usage of iio_priv_to_dev()

2020-05-22 Thread Jeff LaBundy
deletions(-) As a customer of iio, I find it handy that there is an "inverse" to iio_priv. In this particular case it saves the container iio_dev from storing a pointer to itself. That being said, this patch is perfectly fine and I have no objection if this is the route you and Jonathan o

Re: linux-next: Tree for May 18 (input/misc/iqs269a.c & regmap)

2020-05-18 Thread Jeff LaBundy
lecting I2C for me. Valuable lesson learned :) The kbuild test robot set off the alarm bells earlier today and I've sent a patch [1] already. Many apologies for all of the noise. > > -- > ~Randy > Reported-by: Randy Dunlap [1] https://patchwork.kernel.org/patch/11555469/ Kind regards, Jeff LaBundy