* [v1 0/2] HID: i2c-hid: elan: Add ili2901 timing @ 2023-12-25 9:28 xiazhengqiao 2023-12-25 9:28 ` [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 xiazhengqiao 2023-12-25 9:28 ` [v1 2/2] HID: i2c-hid: elan: Add ili2901 timing xiazhengqiao 0 siblings, 2 replies; 7+ messages in thread From: xiazhengqiao @ 2023-12-25 9:28 UTC (permalink / raw) To: linux-input, devicetree, linux-kernel Cc: dmitry.torokhov, robh+dt, jikos, benjamin.tissoires, dianders, xiazhengqiao ILI2901 requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 100ms, so the post_gpio_reset_on_delay_ms is set to 100. xiazhengqiao (2): dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 HID: i2c-hid: elan: Add ili2901 timing .../devicetree/bindings/input/elan,ekth6915.yaml | 1 + drivers/hid/i2c-hid/i2c-hid-of-elan.c | 8 ++++++++ 2 files changed, 9 insertions(+) -- 2.17.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 2023-12-25 9:28 [v1 0/2] HID: i2c-hid: elan: Add ili2901 timing xiazhengqiao @ 2023-12-25 9:28 ` xiazhengqiao 2023-12-25 10:13 ` Rob Herring 2023-12-25 13:27 ` Krzysztof Kozlowski 2023-12-25 9:28 ` [v1 2/2] HID: i2c-hid: elan: Add ili2901 timing xiazhengqiao 1 sibling, 2 replies; 7+ messages in thread From: xiazhengqiao @ 2023-12-25 9:28 UTC (permalink / raw) To: linux-input, devicetree, linux-kernel Cc: dmitry.torokhov, robh+dt, jikos, benjamin.tissoires, dianders, xiazhengqiao Because ilitek, ili2901 needs to use reset to pull down the time for 10ms, so we need to control the reset, use this drive control. Signed-off-by: xiazhengqiao <xiazhengqiao@huaqin.corp-partner.google.com> --- Documentation/devicetree/bindings/input/elan,ekth6915.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml index 3e2d216c6432..b9e51432b9e8 100644 --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml @@ -20,6 +20,7 @@ properties: compatible: items: - const: elan,ekth6915 + - const: ilitek,ili2901 reg: const: 0x10 -- 2.17.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 2023-12-25 9:28 ` [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 xiazhengqiao @ 2023-12-25 10:13 ` Rob Herring 2023-12-25 13:27 ` Krzysztof Kozlowski 1 sibling, 0 replies; 7+ messages in thread From: Rob Herring @ 2023-12-25 10:13 UTC (permalink / raw) To: xiazhengqiao Cc: robh+dt, jikos, linux-input, linux-kernel, dianders, benjamin.tissoires, dmitry.torokhov, devicetree On Mon, 25 Dec 2023 17:28:42 +0800, xiazhengqiao wrote: > Because ilitek, ili2901 needs to use reset to pull down the time for 10ms, > so we need to control the reset, use this drive control. > > Signed-off-by: xiazhengqiao <xiazhengqiao@huaqin.corp-partner.google.com> > --- > Documentation/devicetree/bindings/input/elan,ekth6915.yaml | 1 + > 1 file changed, 1 insertion(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/input/elan,ekth6915.example.dtb: touchscreen@10: compatible: ['elan,ekth6915'] is too short from schema $id: http://devicetree.org/schemas/input/elan,ekth6915.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231225092843.5993-2-xiazhengqiao@huaqin.corp-partner.google.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 2023-12-25 9:28 ` [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 xiazhengqiao 2023-12-25 10:13 ` Rob Herring @ 2023-12-25 13:27 ` Krzysztof Kozlowski [not found] ` <CADYyEwTO0XDhM_5PLSiGUdugNx8jzCFpA6s2p1ATUpEVH4KzCg@mail.gmail.com> 1 sibling, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2023-12-25 13:27 UTC (permalink / raw) To: xiazhengqiao, linux-input, devicetree, linux-kernel Cc: dmitry.torokhov, robh+dt, jikos, benjamin.tissoires, dianders On 25/12/2023 10:28, xiazhengqiao wrote: > Because ilitek, ili2901 needs to use reset to pull down the time for 10ms, > so we need to control the reset, use this drive control. > > Signed-off-by: xiazhengqiao <xiazhengqiao@huaqin.corp-partner.google.com> > --- > Documentation/devicetree/bindings/input/elan,ekth6915.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > index 3e2d216c6432..b9e51432b9e8 100644 > --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > @@ -20,6 +20,7 @@ properties: > compatible: > items: > - const: elan,ekth6915 > + - const: ilitek,ili2901 1. You are adding fallback which was not explained in commit msg. 2. What's more, this was not tested. Please test your code before sending... 3. Plus you did not Cc maintainers, so I suspect you work on some ancient tree... Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <CADYyEwTO0XDhM_5PLSiGUdugNx8jzCFpA6s2p1ATUpEVH4KzCg@mail.gmail.com>]
* Re: [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 [not found] ` <CADYyEwTO0XDhM_5PLSiGUdugNx8jzCFpA6s2p1ATUpEVH4KzCg@mail.gmail.com> @ 2023-12-25 13:40 ` Krzysztof Kozlowski 0 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2023-12-25 13:40 UTC (permalink / raw) To: Zhengqiao Xia Cc: linux-input, devicetree, linux-kernel, dmitry.torokhov, robh+dt, jikos, benjamin.tissoires, dianders On 25/12/2023 14:38, Zhengqiao Xia wrote: > I am so sorry, I need to download an Linux Input code. Before sending further patches, please carefully read: 1. https://elixir.bootlin.com/linux/v6.7-rc7/source/Documentation/process/submitting-patches.rst 2. https://subspace.kernel.org/etiquette.html Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* [v1 2/2] HID: i2c-hid: elan: Add ili2901 timing 2023-12-25 9:28 [v1 0/2] HID: i2c-hid: elan: Add ili2901 timing xiazhengqiao 2023-12-25 9:28 ` [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 xiazhengqiao @ 2023-12-25 9:28 ` xiazhengqiao 2023-12-26 21:22 ` Linus Walleij 1 sibling, 1 reply; 7+ messages in thread From: xiazhengqiao @ 2023-12-25 9:28 UTC (permalink / raw) To: linux-input, devicetree, linux-kernel Cc: dmitry.torokhov, robh+dt, jikos, benjamin.tissoires, dianders, xiazhengqiao ILI2901 requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 100ms, so the post_gpio_reset_on_delay_ms is set to 100. Signed-off-by: xiazhengqiao <xiazhengqiao@huaqin.corp-partner.google.com> --- drivers/hid/i2c-hid/i2c-hid-of-elan.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/hid/i2c-hid/i2c-hid-of-elan.c b/drivers/hid/i2c-hid/i2c-hid-of-elan.c index 31abab57ad44..5b91fb106cfc 100644 --- a/drivers/hid/i2c-hid/i2c-hid-of-elan.c +++ b/drivers/hid/i2c-hid/i2c-hid-of-elan.c @@ -130,9 +130,17 @@ static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data = { .main_supply_name = NULL, }; +static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data = { + .post_power_delay_ms = 10, + .post_gpio_reset_on_delay_ms = 100, + .hid_descriptor_address = 0x0001, + .main_supply_name = "vcc33", +}; + static const struct of_device_id elan_i2c_hid_of_match[] = { { .compatible = "elan,ekth6915", .data = &elan_ekth6915_chip_data }, { .compatible = "ilitek,ili9882t", .data = &ilitek_ili9882t_chip_data }, + { .compatible = "ilitek,ili2901", .data = &ilitek_ili2901_chip_data }, { } }; MODULE_DEVICE_TABLE(of, elan_i2c_hid_of_match); -- 2.17.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [v1 2/2] HID: i2c-hid: elan: Add ili2901 timing 2023-12-25 9:28 ` [v1 2/2] HID: i2c-hid: elan: Add ili2901 timing xiazhengqiao @ 2023-12-26 21:22 ` Linus Walleij 0 siblings, 0 replies; 7+ messages in thread From: Linus Walleij @ 2023-12-26 21:22 UTC (permalink / raw) To: xiazhengqiao Cc: linux-input, devicetree, linux-kernel, dmitry.torokhov, robh+dt, jikos, benjamin.tissoires, dianders On Mon, Dec 25, 2023 at 10:29 AM xiazhengqiao <xiazhengqiao@huaqin.corp-partner.google.com> wrote: > ILI2901 requires reset to pull down time greater than 10ms, > so the configuration post_power_delay_ms is 10, and the chipset > initial time is required to be greater than 100ms, > so the post_gpio_reset_on_delay_ms is set to 100. > > Signed-off-by: xiazhengqiao <xiazhengqiao@huaqin.corp-partner.google.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-12-26 21:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-25 9:28 [v1 0/2] HID: i2c-hid: elan: Add ili2901 timing xiazhengqiao
2023-12-25 9:28 ` [v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Ilitek ili2901 xiazhengqiao
2023-12-25 10:13 ` Rob Herring
2023-12-25 13:27 ` Krzysztof Kozlowski
[not found] ` <CADYyEwTO0XDhM_5PLSiGUdugNx8jzCFpA6s2p1ATUpEVH4KzCg@mail.gmail.com>
2023-12-25 13:40 ` Krzysztof Kozlowski
2023-12-25 9:28 ` [v1 2/2] HID: i2c-hid: elan: Add ili2901 timing xiazhengqiao
2023-12-26 21:22 ` Linus Walleij
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox