On 2023/5/10 16:33, Emil Renner Berthing wrote:
On Tue, 9 May 2023 at 20:05, Conor Dooley conor@kernel.org wrote:
On Tue, May 09, 2023 at 08:52:48PM +0800, Walker Chen wrote:
Hi Conor/Emil,
DT overlay is used to describe combinations of VF2 and hat. Do you have any comments on this patch ?
Up to Emil :)
I seem to recall that he said at the linux-riscv sync-up call that we have* that he was not in favour of overlays for hats like this. I'll let him confirm that though, I might very well be misinterpreting or misremembering what he said.
What probably meant was that I didn't want a bunch of different device trees for each combination board * hat. An overlay makes a lot more sense. However, looking through the kernel tree there is a surprising lack of overlays for hats committed already, so I suspect there is some sort of policy around overlays already in place.
Hi Emil,
About the specific usage of overlay for this board + hat, referenced to the following example in kernel: linux/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dtso That board is connected with imx219 sensor via mipi_csi interface. That patch was accepted in 2022.
So do you think this way is feasible ? Thanks!
Best regards, Walker
Cheers, Conor.