Hi Simon > At our face-to-face meeting in Montpellier we discussed the > idea of generation bindings. And my recollection is that Magnus > and I had strong reservations about declaring what generation compatibility > is without it being explicitly stated in hardware documentation. > > From observation we can say that the i2c controllers on r8a7778 and r8a7779 > appear to be compatible. But can we say that in fact they are in fact > compatible hardware. That they are different hardware instances of a common > i2c controller whose name may or may not be is known to us? If not > I do not think that using a common binding describes the hardware, > which is the intention of DT bindings. > > A second problem is the using the generation as a name. Assuming the > answer to the above question is yes can we further say with certainty > that all variants of Gen1 SoCs that currently exist or will exist in the > future are compatible? If not then using Gen1 as the name does not seem > to accurately describe the hardware. This is the reason why SoC side have multi compatible name ? My understanding is that, generation compatibility support common feature, SoC compatibility support specific feature. compatible = "renesas,i2c-r8a7790", renesas,i2c-rcar-gen2" If r8a7790 has special feature, then, it match to first compatible name (or it can have special property) If it is same as other Gen2, then, it can match to 2nd name. HW doesn't have IP specific version, but latest datasheet is indicating all H2/M2/E2/V2. And, from HW team point of view, they don't want to create same name but multi feature IP in same generation. Creating and Testing new IP needs too much time / money / paper work. Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html