From: Zhu Yi <yi.z...@cn.bosch.com>
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi <yi.z...@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jo...@de.bosch.com>
Reviewed-by: Heiko Schocher <h...@denx.de>
Reviewed-by: Rob
From: Zhu Yi <yi.z...@cn.bosch.com>
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi <yi.z...@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jo...@de.bosch.com>
Reviewed-by: Heiko Schocher <h...@denx.de>
Reviewed-by: Rob
From: Zhu Yi <yi.z...@cn.bosch.com>
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi <yi.z...@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jo...@de.bosch.com>
Reviewed-by: Heiko Schocher <h...@denx.de>
Reviewed-by: Rob
From: Zhu Yi
The low level companion-spi driver encapsulates the communication
details with the companion processor, and provides interface for
the upper level drivers to access.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
---
drivers/spi/Kconfig |2 +
drivers
waiting for arbitration to make sensible use of
multi-queues.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
---
drivers/net/can/dev.c | 8 +---
include/linux/can/dev.h | 7 ++-
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net
iteration.
This makes sure that even if the timeout is reached, there is still one
more chance to try the I2C transfer in case the EEPROM is ready.
Signed-off-by: Wang Xin
Signed-off-by: Mark Jonas
---
drivers/misc/eeprom/at24.c | 26 +++---
1 file changed, 19 insertions(+), 7
write
operation and is ready again.
- at24_loop_until_timeout() will detect timeout and won't try to write.
Signed-off-by: Wang Xin
Signed-off-by: Mark Jonas
---
Changes in v2:
- Remove loop macro
- Accept superfluous sleep in case of timeout
- Add concrete example to commit message
rdware queues or are
able to abort waiting for arbitration to make sensible use of
multi-queues.
Signed-off-by: Zhu Yi <yi.z...@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jo...@de.bosch.com>
Reviewed-by: Heiko Schocher <h...@denx.de>
---
drivers/net/can/dev.c | 8 +---
inc
From: Zhu Yi <yi.z...@cn.bosch.com>
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi <yi.z...@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jo...@de.bosch.com>
Reviewed-by: Heiko Schocher <h...@denx.de>
---
Changes in
From: Zhu Yi <yi.z...@cn.bosch.com>
Add the ROHM BU21029 resistive touch panel controller
support with i2c interface.
Signed-off-by: Zhu Yi <yi.z...@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jo...@de.bosch.com>
Reviewed-by: Heiko Schocher <h...@denx.de>
---
.../bi
waiting for arbitration to make sensible use of
multi-queues.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
---
drivers/net/can/dev.c | 8 +---
include/linux/can/dev.h | 7 ++-
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net
From: Zhu Yi
Add the ROHM BU21029 resistive touch panel controller
support with i2c interface.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
---
.../bindings/input/touchscreen/bu21029.txt | 30 ++
drivers/input/touchscreen/Kconfig
From: Zhu Yi
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
Reviewed-by: Rob Herring
---
Changes in v3:
- reviewed by Rob Herring
---
Changes in v2:
- make ABS_PRESSURE
From: Zhu Yi
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
Reviewed-by: Rob Herring
---
Changes in v4:
- remove potential kernel log spamming from irq handler
- fix bug in endianess
From: Zhu Yi
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
Reviewed-by: Rob Herring
---
Changes in v5:
- use usleep_range() and msleep() instead of atomic delays
- drop #ifdef
From: Zhu Yi
Add Rohm BU21029 resistive touch panel controller support with I2C
interface.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
---
Changes in v2:
- make ABS_PRESSURE proportionally rising with finger pressure
- fix race between interrupt and timer
On an NXP i.MX6 Solo processor we are running an application which makes
use of real-time threads (SCHED_RR). In combination with a DA9063 we
experienced (rare) random shut-downs and reboots. We found that the
issue was caused by a combination of the (default) DA9063 SMBus mode
and non-atomic I2C
mainline kernel. Though, we tested a (very similar)
patch on our (close to mainline) Linux 4.14 and 5.4 vendor kernels.
Cheers,
Mark
On Mon, Jan 25, 2021 at 2:16 PM Mark Jonas wrote:
>
> From: Hubert Streidl
>
> By default the PMIC DA9063 2-wire interface is SMBus compliant.
as the default.
Signed-off-by: Hubert Streidl
Signed-off-by: Mark Jonas
---
Documentation/devicetree/bindings/mfd/da9063.txt | 7 +++
drivers/mfd/da9063-core.c| 9 +
drivers/mfd/da9063-i2c.c | 13 +
include/linux/mfd/da9063/core.h
. This leads to a dark
screen until a KMS application (or fbcon) sets the screen mode.
This patch fixes the issue by moving the setup of generic fbdev before
initializing and enabling output polling.
Signed-off-by: Leo Ruan
Signed-off-by: Mark Jonas
---
drivers/gpu/drm/imx/imx-drm-core.c | 8
waiting for arbitration to make sensible use of
multi-queues.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
Reviewed-by: Heiko Schocher
---
drivers/net/can/dev.c | 8 +---
include/linux/can/dev.h | 7 ++-
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net
From: Zhu Yi
The low level companion-spi driver encapsulates the communication
details with the companion processor, and provides interface for
the upper level drivers to access.
Signed-off-by: Zhu Yi
Signed-off-by: Mark Jonas
---
drivers/spi/Kconfig |2 +
drivers
write
operation and is ready again.
- at24_loop_until_timeout() will detect timeout and won't try to write.
Signed-off-by: Wang Xin
Signed-off-by: Mark Jonas
---
Changes in v2:
- Remove loop macro
- Accept superfluous sleep in case of timeout
- Add concrete example to commit message
iteration.
This makes sure that even if the timeout is reached, there is still one
more chance to try the I2C transfer in case the EEPROM is ready.
Signed-off-by: Wang Xin
Signed-off-by: Mark Jonas
---
drivers/misc/eeprom/at24.c | 26 +++---
1 file changed, 19 insertions(+), 7
ch doesn't have I2C_FUNC_I2C set.
Signed-off-by: Hubert Streidl
Signed-off-by: Mark Jonas
---
Changes in v4:
- Remove logging of selected 2-wire bus mode.
Changes in v3:
- busmode now contains the correct bit DA9063_TWOWIRE_TO
Changes in v2:
- Implement proposal by Adam Thomson and Wo
ch doesn't have I2C_FUNC_I2C set.
Signed-off-by: Hubert Streidl
Signed-off-by: Mark Jonas
---
Changes in v2:
- Implement proposal by Adam Thomson and Wolfram Sang to check for
functionality I2C_FUNC_I2C instead of introducing a new DT property.
drivers/mfd/da9063-i2c.c
dl
Signed-off-by: Mark Jonas
---
Changes in v6:
- Fixed checkpatch check 'unaligned broken line'.
Changes in v5:
- Restructured according to feedback by Lee Jones.
Changes in v4:
- Remove logging of selected 2-wire bus mode.
Changes in v3:
- busmode now contains the correct bit DA9063_
dl
Signed-off-by: Mark Jonas
---
drivers/mfd/da9063-i2c.c | 10 ++
include/linux/mfd/da9063/registers.h | 3 +++
2 files changed, 13 insertions(+)
diff --git a/drivers/mfd/da9063-i2c.c b/drivers/mfd/da9063-i2c.c
index 3781d0bb7786..e8a022e697c5 100644
--- a/drivers/mfd/da
nctionality is set. SMBus commands most probably are emulated
> > in this case which is prone to the latency issue described above.
> >
> > This patch enables the I2C bus mode if I2C_FUNC_I2C is set or
> > otherwise enables the SMBus mode for a native SMBus controller
> > which do
ch doesn't have I2C_FUNC_I2C set.
Signed-off-by: Hubert Streidl
Signed-off-by: Mark Jonas
---
Changes in v3:
- busmode now contains the correct bit DA9063_TWOWIRE_TO
Changes in v2:
- Implement proposal by Adam Thomson and Wolfram Sang to check for
functionality I2C_FUNC_I2C instead of i
30 matches
Mail list logo