Message ID | 20240904090016.2841572-1-wenst@chromium.org (mailing list archive) |
---|---|
Headers | show |
Series | platform/chrome: Introduce DT hardware prober | expand |
On Wed, 04 Sep 2024 17:00:02 +0800, Chen-Yu Tsai wrote: > This is v6 of my "of: Introduce hardware prober driver" [1] series. > v6 mainly addresses comments from Andy. > > v2 continued Doug's "of: device: Support 2nd sources of probeable but > undiscoverable devices" [2] series, but follows the scheme suggested by > Rob, marking all second source component device nodes as "fail-needs-probe", > and having a hardware prober driver enable the one of them. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [03/12] regulator: Move OF-specific regulator lookup code to of_regulator.c commit: b8c3255457147162cd713a319a8e2274335449b9 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
Hi, this series gets quite some review from people I trust. This is awesome. So, I will keep to some high level questions: > undiscoverable devices" [2] series, but follows the scheme suggested by > Rob, marking all second source component device nodes as "fail-needs-probe", > and having a hardware prober driver enable the one of them. Where is this "fail-needs-probe" documented? I neither see it here nor in the dt-schema repo. > The other case, selecting a display panel to use based on the SKU ID > from the firmware, hit a bit of an issue with fixing the OF graph. > It has been left out since v3. Does it make sense then to add touchscreens only? Will the panels be worked on once this is upstream? Or what is the way forward? > Wolfram, would you be able to handle the late PR? Assuming you get a > chance to look at the patches that is. Yes, I can do this, but... > drivers/i2c/Makefile | 7 +- > drivers/i2c/i2c-core-of-prober.c | 437 ++++++++++++++++++ ... this is quite some code. Would you be willing to maintain it (i.e. please add a MAINTAINERS entry then). Kudos for not touching other parts of the I2C core! All the best, Wolfram
On Sun, Sep 8, 2024 at 12:58 AM Wolfram Sang <wsa+renesas@sang-engineering.com> wrote: > > Hi, > > this series gets quite some review from people I trust. This is awesome. > So, I will keep to some high level questions: > > > undiscoverable devices" [2] series, but follows the scheme suggested by > > Rob, marking all second source component device nodes as "fail-needs-probe", > > and having a hardware prober driver enable the one of them. > > Where is this "fail-needs-probe" documented? I neither see it here nor > in the dt-schema repo. You are correct that it has not been documented yet. I will send a patch to the dt-schema repo. > > The other case, selecting a display panel to use based on the SKU ID > > from the firmware, hit a bit of an issue with fixing the OF graph. > > It has been left out since v3. > > Does it make sense then to add touchscreens only? Will the panels be > worked on once this is upstream? Or what is the way forward? The devices this patch series targets all use eDP panels, which are more or less directly probe-able. The panels mentioned for the second phase are MIPI panels, which require specific power and command sequences and thus are not probe-able. This will be worked on once this part is done. For the panels it is entirely handled in the chrome platform device tree prober. See the following patch for an earlier version of it: https://lore.kernel.org/all/20231109100606.1245545-6-wenst@chromium.org/ > > Wolfram, would you be able to handle the late PR? Assuming you get a > > chance to look at the patches that is. > > Yes, I can do this, but... > > > drivers/i2c/Makefile | 7 +- > > drivers/i2c/i2c-core-of-prober.c | 437 ++++++++++++++++++ > > ... this is quite some code. Would you be willing to maintain it (i.e. > please add a MAINTAINERS entry then). Kudos for not touching other parts > of the I2C core! Sure! > All the best, > > Wolfram Thanks. There are still some comments to address, in particular making the prober more of a pluggable framework and exposing more code as helpers. ChenYu