Re: [PATCH net-next v5 1/5] dt-bindings: mfd: x-powers: Add AC200

From: Andrew Lunn

Date: Tue Aug 11 2026 - 13:15:24 EST


> > Bundling it together suggests this is somehow incomplete and later will
> > be finished, which is wrong by itself. How to fix it - decouple
> > dependencies.
>
> Could you clarify whether you mean that the MFD and net changes
> should be sent as separate submissions, or that the driver
> interface should be redesigned so the net side has no dependency
> on the AC200 MFD provider?

There are two parts to this.

DT describes hardware. The hardware is fixed, so you should be able to
describe it. Ideally, the DT binding should not have an Linux
concepts, or driver concepts, since that is not hardware.

The second part is, the MFD driver should be merged via the MFD
tree. The networking code should be merged via the net-next tree. Each
patchset needs to build independently. It does not matter if they
don't run, probe fails, if run on their own. The different patchsets
will eventually meet up in linux-next, and get merged together in
-rc1, at which point they should function.

If you have any build time dependencies, you clearly need to state
them in 0/X patch of each patchset, and explain why the build time
dependency exists. Sometimes they are unavoidable. If that is true,
the different subsystem Maintainers need to work together. Sometimes
one subsystem Maintainer gives Acked-by:, and allows another subsystem
Maintainer to merge the patches. Sometimes one subsystem Maintainer
will produce a stable branch, with the other subsystem Maintainer
merges into their subsystem, resulting in the needed build time
dependencies being fulfilled. This requires Maintainers to work
together, so you need to make it clear in the commit message this is
needed. But ideally, you avoid this, subsystems are mostly
independent.

Andrew