Message ID | 20200608204347.19685-4-jonathan@marek.ca (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | soundwire: qcom: add mmio support | expand |
On 08-06-20, 16:43, Jonathan Marek wrote:
> Add a compatible string for HW version v1.5.1 on sm8250 SoCs.
Please document this new compatible
On 6/9/20 1:26 AM, Vinod Koul wrote: > On 08-06-20, 16:43, Jonathan Marek wrote: >> Add a compatible string for HW version v1.5.1 on sm8250 SoCs. > > Please document this new compatible > Does it really need to be documented? The documentation already says the compatible should be "qcom,soundwire-v<MAJOR>.<MINOR>.<STEP>". It gives "qcom,soundwire-v1.5.0" as an example, which is not actually a supported compatible, so my understanding is we don't need to update the list of examples with every possible compatible.
On 09/06/2020 12:17, Jonathan Marek wrote: > On 6/9/20 1:26 AM, Vinod Koul wrote: >> On 08-06-20, 16:43, Jonathan Marek wrote: >>> Add a compatible string for HW version v1.5.1 on sm8250 SoCs. >> >> Please document this new compatible >> > > Does it really need to be documented? The documentation already says the > compatible should be "qcom,soundwire-v<MAJOR>.<MINOR>.<STEP>". It gives > "qcom,soundwire-v1.5.0" as an example, which is not actually a supported > compatible, so my understanding is we don't need to update the list of > examples with every possible compatible. checkpatch should have reported about this, and in future once we convert to yaml and list the compatible strings then dt_binding_check would fail too. So there is no harm in adding an additional compatible string for this new entry. --srini
diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c index 628747df1c75..14334442615f 100644 --- a/drivers/soundwire/qcom.c +++ b/drivers/soundwire/qcom.c @@ -880,6 +880,7 @@ static int qcom_swrm_remove(struct platform_device *pdev) static const struct of_device_id qcom_swrm_of_match[] = { { .compatible = "qcom,soundwire-v1.3.0", }, + { .compatible = "qcom,soundwire-v1.5.1", }, {/* sentinel */}, };
Add a compatible string for HW version v1.5.1 on sm8250 SoCs. Signed-off-by: Jonathan Marek <jonathan@marek.ca> --- drivers/soundwire/qcom.c | 1 + 1 file changed, 1 insertion(+)