[PATCH 1/6] dt-bindings: soc: zte: Document zx297520v3 socsys controller

Rob Herring (Arm) robh at kernel.org
Tue Dec 1 15:12:34 PST 2026


On Fri, 20 Nov 2026 22:20:50 +0300, Stefan Dösinger wrote:
> The best way to sum up this controller is probably "misc". ZTE probably
> put everything they didn't bother to put in its own mmio area here.
> Documentation in ZTE's sources is very sparse and even the blobs only
> touch a handful of registers.
> 
> The controller contains power controls, resets, DMA multiplexing,
> auxiliary USB phy controls, i2s controls, the proprietary DSP boot
> address and many others.
> 
> For power controls I could confirm that the USB/HSIC and a GSM-related
> controls work. There are 5 bits mentioned in ZTE's kernel though and
> there is a second register that is used in a very similar fashion by the
> LTE blob.
> 
> For the Ethernet PHY reset register there are 5 settable bits,
> but only one of them produces an understood effect. I am using
> reset-cells=1 because it is likely some of the other bits have an actual
> meaning.
> 
> Signed-off-by: Stefan Dösinger <stefandoesinger at gmail.com>
> 
> ---
> 
> ZTE uses the name "SOC_SYS" in their downstream kernel. I am not
> particularly thrilled by that name, but couldn't come up with a better
> one yet. I am open to suggestions
> 
> I do not want to commit to exposing the GSM related bits as power
> domains just yet, so no handle for them is defined in this binding. They
> are inside the RST/ISO/PWR registers just like their USB counterpart,
> but the PWR bit does nothing and the client driver will have to assert
> and deassert the reset to wake up the hardware. This is easier to do
> with a reset controller than a power domain. The ISO bit kinda works
> though, so I can't just pretend they are standalone resets.
> 
> The hardware behind the GSM bits has a self-arming watchdog. After
> 2.5ms it puts itself into a broken state and can only be recovered by
> asserting and deasserting the reset in socsys. Like almost everything on
> this board it is enabled on boot, so the client driver needs to assert
> and deassert the reset before touching it.
> 
> How much documentation is appropriate in the binding .yaml? I want to
> document the identified registers *somewhere*, and since the yaml lives
> in Documentation/ I put it there. I do understand though if the Linux
> kernel doesn't want to be a backup SoC datasheet.
> ---
>  .../bindings/soc/zte/zte,zx297520v3-socsys.yaml    | 100 +++++++++++++++++++++
>  MAINTAINERS                                        |   1 +
>  include/dt-bindings/power/zte,zx297520v3-socsys.h  |  11 +++
>  include/dt-bindings/reset/zte,zx297520v3-reset.h   |   2 +
>  4 files changed, 114 insertions(+)
> 

Reviewed-by: Rob Herring (Arm) <robh at kernel.org>




More information about the linux-arm-kernel mailing list