Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1265276
| From | Sinan Kaya <okaya@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver |
| Date | 2015-11-09 03:20 +0100 |
| Message-ID | <qsKdQ-8vV-3@gated-at.bofh.it> (permalink) |
| References | <qsqf8-3JB-11@gated-at.bofh.it> <qsqf8-3JB-9@gated-at.bofh.it> <qsqoO-438-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 11/8/2015 12:08 AM, Timur Tabi wrote:
On 11/8/2015 12:08 AM, Timur Tabi wrote:
> Sinan Kaya wrote:
>> + val = val & ~(MAX_BUS_REQ_LEN_MASK << MAX_BUS_WR_REQ_BIT_POS);
>> + val = val | (mgmtdev->max_write_request << MAX_BUS_WR_REQ_BIT_POS);
>> + val = val & ~(MAX_BUS_REQ_LEN_MASK);
>> + val = val | (mgmtdev->max_read_request);
>
> val &= ~MAX_BUS_REQ_LEN_MASK << MAX_BUS_WR_REQ_BIT_POS;
> val |= mgmtdev->max_write_request << MAX_BUS_WR_REQ_BIT_POS;
> val &= ~MAX_BUS_REQ_LEN_MASK;
> val |= mgmtdev->max_read_request;
>
>> +static const struct of_device_id hidma_mgmt_match[] = {
>> + { .compatible = "qcom,hidma-mgmt", },
>> + { .compatible = "qcom,hidma-mgmt-1.0", },
>> + { .compatible = "qcom,hidma-mgmt-1.1", },
>> + {},
>> +};
>
> I thought Rob said that he did NOT want to use version numbers in
> compatible strings. And what's the difference between these three
> versions anyway?
>
This was already discussed here.
https://lkml.org/lkml/2015/11/2/689
The agreement was to use
compatible = "qcom,hidma-mgmt-1.1", "qcom,hidma-mgmt-1.0",
"qcom,hidma-mgmt";
I'll be adding code for v1.1 specifically in the future.
--
Sinan Kaya
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver Sinan Kaya <okaya@codeaurora.org> - 2015-11-08 06:00 +0100
Re: [PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver Timur Tabi <timur@codeaurora.org> - 2015-11-08 06:10 +0100
Re: [PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver Sinan Kaya <okaya@codeaurora.org> - 2015-11-09 03:20 +0100
Re: [PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver Rob Herring <robh@kernel.org> - 2015-11-09 19:30 +0100
Re: [PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver Sinan Kaya <okaya@codeaurora.org> - 2015-11-10 06:00 +0100
csiph-web