returns an
unexpected clock (the first clock specified in DT).
This can be fixed by calling of_clk_get_hw() only when DT name is not NULL.
Fixes: fc0c209c147f ("clk: Allow parents to be specified without string names")
Cc: Jerome Brunet
Signed-off-by: Alexandre Mergnat
---
drivers
Replace hihi by hifi in the mali parent_names of the g12a SoC family.
Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller")
Cc: Jerome Brunet
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/g12a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
hardcoded in the initialization
function and can't be changed "on-the-fly" in user space due to the lack of
configuration interface.
The "ot" directory is added to coutain Optical Tracker drivers.
Signed-off-by: Alexandre Mergnat
---
drivers/iio/Kconfig |
PixArt Imaging Inc. is expertized in CMOS image sensors (CIS),
capacitive touch controllers and related imaging application development.
Signed-off-by: Alexandre Mergnat
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation
Add documentation for the optical tracker PAT9125 and
"ot" directory for Optical Tracker chip.
Signed-off-by: Alexandre Mergnat
---
Documentation/devicetree/bindings/iio/ot/pat9125.txt | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/
ory for optical tracker devices
Alexandre Mergnat (3):
dt-bindings: Add pixart vendor
dt-bindings: iio: ot: Add docs pat9125
iio: Add PAT9125 optical tracker sensor
.../devicetree/bindings/iio/ot/pat9125.txt | 18 +
.../devicetree/bindings/vendor-prefixes.txt| 1 +
driv
PixArt Imaging Inc. is expertized in CMOS image sensors (CIS),
capacitive touch controllers and related imaging application development.
Signed-off-by: Alexandre Mergnat
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation
- Change GPIO IRQ trigger from low level and one shot to falling edge
- Add device unregister and buffer cleanup to driver remove function
Alexandre Mergnat (3):
dt-bindings: Add pixart vendor
dt-bindings: iio: ot: Add docs pat9125
iio: Add PAT9125 optical tracker sensor
.../devicet
cal Tracker drivers.
Signed-off-by: Alexandre Mergnat
---
drivers/iio/Kconfig | 1 +
drivers/iio/Makefile | 1 +
drivers/iio/ot/Kconfig | 16 ++
drivers/iio/ot/Makefile | 6 +
drivers/iio/ot/pat9125.c | 487 +++
5 files changed, 511 insertions(+)
Add documentation for the optical tracker PAT9125 and
"ot" directory for Optical Tracker chip.
Signed-off-by: Alexandre Mergnat
---
.../devicetree/bindings/iio/ot/pat9125.txt | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bi
Le dim. 16 juin 2019 à 17:39, Jonathan Cameron a écrit :
>
> On Mon, 10 Jun 2019 11:29:45 +0200
> Alexandre Mergnat wrote:
...
>
> > +/*
> > + * To detect if a new value is available, register status is checked. This
> > + * method is safer than using a flag on
PixArt Imaging Inc. is expertized in CMOS image sensors (CIS),
capacitive touch controllers and related imaging application development.
Signed-off-by: Alexandre Mergnat
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a
Q handler
- Use triggered_buffer helpers to replace kfifo use, setup buffer,
implement enable/disable setup buffer operations, IIO trigger
allocation and re-enable operations
- Remove useless "goto"
- Change GPIO IRQ handler from planified thread to IRQ thread
- Change GPIO IRQ trigger from
Add documentation for the optical tracker PAT9125 and
"position" directory for chip which can provides position data.
Signed-off-by: Alexandre Mergnat
---
.../bindings/iio/position/pat9125.txt | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 Doc
t at 1.0mm distance.
More details on the datasheet.
The "position" directory is added to contain drivers which can provide
position data.
[0]: http://www.pixart.com/products-detail/72/PAT9125EL-TKIT___TKMT
Signed-off-by: Alexandre Mergnat
---
drivers/iio/Kconfig| 1 +
Add documentation for the optical tracker PAT9125 and
"position" directory for chip which can provides position data.
Signed-off-by: Alexandre Mergnat
---
.../bindings/iio/position/pat9125.txt | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 Doc
PixArt Imaging Inc. is expertized in CMOS image sensors (CIS),
capacitive touch controllers and related imaging application development.
Signed-off-by: Alexandre Mergnat
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a
Q handler
- Use triggered_buffer helpers to replace kfifo use, setup buffer,
implement enable/disable setup buffer operations, IIO trigger
allocation and re-enable operations
- Remove useless "goto"
- Change GPIO IRQ handler from planified thread to IRQ thread
- Change GPIO IRQ trigger from
t at 1.0mm distance.
More details on the datasheet.
The "position" directory is added to contain drivers which can provide
position data.
[0]: http://www.pixart.com/products-detail/72/PAT9125EL-TKIT___TKMT
Signed-off-by: Alexandre Mergnat
---
drivers/iio/Kconfig| 1 +
fc0c209c147f ("clk: Allow parents to be specified without string
names")
Signed-off-by: Alexandre Mergnat
---
Change since v1:
- Typo fixes
drivers/clk/meson/Kconfig | 1 -
drivers/clk/meson/axg-audio.c | 261 --
2 files changed, 120 insertions(+), 142
helper and all bypass clocks (declared in probe function)
which are no longer used since we are able to use device-tree clock name
directly.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/axg-aoclk.c | 63 ---
1 file changed, 37 insertions(+), 26 deletions
regiter bypass clocks is removed.
Input parameters from meson aoclk data structure are deprecated and then
deleted since all aoclk files are migrated.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/Kconfig | 1 -
drivers/clk/meson/meson-aoclk.c | 37
helper and all bypass clocks (declared in probe function)
which are no longer used since we are able to use device-tree clock name
directly.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/gxbb-aoclk.c | 55 +-
1 file changed, 27 insertions(+), 28 deletions
GXL, GXBB, Meson8b, AXG SoCs by comparing the clock summary
(orphan too) before and after migration.
[0] commit fc0c209c147f ("clk: Allow parents to be specified without string
names")
Change since v1:
- Improve clock parent assignment for "fixme" using name instead of fw_name
helper and all bypass clocks (declared in probe function)
which are no longer used since we are able to use device-tree clock name
directly.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/g12a-aoclk.c | 81 +-
1 file changed, 50 insertions(+), 31 deletions
The clk input function which allows clock controllers to register a bypass
clock from a clock producer is no longer needed anymore since meson clock
controllers have migrated to a new parent allocation method.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/Kconfig | 3 ---
drivers
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
clock registration from the ee probe function.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/Kconfig | 1 -
drivers/clk/meson/meson-eeclk.c | 10 --
drivers/clk/meson/meson-eeclk.h | 2 --
3 files changed, 13 deletions(-)
diff --git a/drivers/clk/meson/Kconfig b/drivers
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
description method.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/g12a.c | 270 +++
1 file changed, 135 insertions(+), 135 deletions(-)
diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c
index 7bc5566b66f7..cbd56b2e05d0 100644
--- a/drivers/clk
GXL, GXBB, Meson8b, AXG SoCs by comparing the clock summary
(orphan too) before and after migration.
[0] commit fc0c209c147f ("clk: Allow parents to be specified without string
names")
Change since v1:
- Improve comments in gxbb, g12a and meson8b files
Alexandre Mergnat (8):
clk: m
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
Le jeu. 25 juil. 2019 à 19:09, Chen-Yu Tsai a écrit :
>
> On Thu, Jul 25, 2019 at 10:50 PM Jerome Brunet wrote:
> >
> > On Mon 22 Jul 2019 at 11:54, Alexandre Mergnat
> > wrote:
> >
> >
> > > @@ -1592,13 +1737,29 @@ static struct clk_regmap gxbb_vi
NULL pointer.
- Use devm_iio_ function for all init functions and then delete
"pat9125_remove"
- Move device_register at the end of probe function
- Replace MODULE_PARM_DESC by IIO_SCALE to set axis resolution (CPI)
Alexandre Mergnat (3):
dt-bindings: Add pixart vendor
dt-bindings: iio:
PixArt Imaging Inc. is expertized in CMOS image sensors (CIS),
capacitive touch controllers and related imaging application development.
Signed-off-by: Alexandre Mergnat
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a
v on 1.0mm diameter STS shaft at 1.0mm distance.
More details on the datasheet.
The "position" directory is added to contain drivers which can provide
position data.
Signed-off-by: Alexandre Mergnat
[0]: http://www.pixart.com/products-detail/72/PAT9125EL-TKIT___TKMT
Signed-off-b
Add documentation for the optical tracker PAT9125 and
"position" directory for chip which can provides position data.
Signed-off-by: Alexandre Mergnat
---
.../bindings/iio/position/pat9125.txt | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 Doc
fc0c209c147f ("clk: Allow parents to be specified without string
names")
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/Kconfig | 1 -
drivers/clk/meson/axg-audio.c | 253 --
2 files changed, 116 insertions(+), 138 deletions(-)
diff --git a/drivers
helper and all bypass clocks (declared in probe function)
which are no longer used since we are able to use device-tree clock name
directly.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/gxbb-aoclk.c | 55 +-
1 file changed, 27 insertions(+), 28 deletions
regiter bypass clocks is removed.
Input parameters from meson aoclk data structure are deprecated and then
deleted since all aoclk files are migrated.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/Kconfig | 1 -
drivers/clk/meson/meson-aoclk.c | 37
GXL, GXBB, Meson8b, AXG SoCs by comparing the clock summary
(orphan too) before and after migration.
[0] commit fc0c209c147f ("clk: Allow parents to be specified without string
names")
Alexandre Mergnat (4):
clk: meson: g12a-aoclk: migrate to the new parent description method
clk: m
helper and all bypass clocks (declared in probe function)
which are no longer used since we are able to use device-tree clock name
directly.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/axg-aoclk.c | 63 ---
1 file changed, 37 insertions(+), 26 deletions
helper and all bypass clocks (declared in probe function)
which are no longer used since we are able to use device-tree clock name
directly.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/g12a-aoclk.c | 81 +-
1 file changed, 50 insertions(+), 31 deletions
GXL, GXBB, Meson8b, AXG SoCs by comparing the clock summary
(orphan too) before and after migration.
[0] commit fc0c209c147f ("clk: Allow parents to be specified without string
names")
Alexandre Mergnat (8):
clk: meson: g12a: move clock declaration to dependency order
clk: meson: g12
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
The clk input function which allows clock controllers to register a bypass
clock from a clock producer is no longer needed anymore since meson clock
controllers have migrated to a new parent allocation method.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/Kconfig | 3 ---
drivers
description method.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/g12a.c | 270 +++
1 file changed, 135 insertions(+), 135 deletions(-)
diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c
index 7bc5566b66f7..cbd56b2e05d0 100644
--- a/drivers/clk
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
clock registration from the ee probe function.
Signed-off-by: Alexandre Mergnat
---
drivers/clk/meson/Kconfig | 1 -
drivers/clk/meson/meson-eeclk.c | 10 --
drivers/clk/meson/meson-eeclk.h | 2 --
3 files changed, 13 deletions(-)
diff --git a/drivers/clk/meson/Kconfig b/drivers
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized.
Migrate to the new way by using .parent_hws where possible (ie. when
all clocks are local to the controller) and use .parent_data otherwise.
Signed-off-by: Alexandre
54 matches
Mail list logo