lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <325a11c4-15a2-0d10-ea09-714f89bad5b6@samsung.com>
Date:   Fri, 21 Jun 2019 16:11:47 +0900
From:   Chanwoo Choi <cw00.choi@...sung.com>
To:     George Hilliard <ghilliard@...ismobile.com>,
        MyungJoo Ham <myungjoo.ham@...sung.com>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: Pointers on using the extcon-adc-jack driver

Hi George,

On 19. 6. 13. 오전 2:59, George Hilliard wrote:
> I have question about using the extcon-adc-jack code, which uses an
> ADC to provide an extcon device.  This is exactly what I need for my
> hardware.
> 
> Currently it seems like it's set up to only be called from other C
> "platform" code, although I can't find any examples of such code on
> the internet at all, never mind in the kernel tree.  I am interested
> in putting this driver in the device tree for my board.  Would you be
> amenable to patches adding device tree support for this driver (and
> maybe other related extcon drivers)?  Or have I overlooked the
> "correct" way to use this module?
> 

Until now, extcon-adc-jack driver has not yet supported the dt-binding
on the latest mainline kernel. Actually, extcon-adc-jack has the similar
issue with extcon-gpio about dt-binding.

When I tried to do it[1] for extcon-gpio dt bidnings and someone
tried it[2] again, but, it was not finished. You can check the threads[1][2].

[1] https://lkml.org/lkml/2015/10/21/8
[2] https://lore.kernel.org/patchwork/patch/681550/

In order to support the dt-binding for extcon-adc-jack,
have to find the proper compatible name indicating the device connector
and defines the properties to get the ADC value from devicetree.


-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ