Not sure
do we really understand the photosynthetic process?
It really makes sugar for the plant with O2 as an unused byproduct.
It seems to me that the splitting of the water is accomplished by using nitrates, phosphates, inferred and ultraviolet light being manipulated by the chlorophyll in the plant.