From: Tanmay Shah <tanmays@amd.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Tanmay Shah <tanmay.shah@amd.com>,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-remoteproc@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: sram: Tightly Coupled Memory (TCM) bindings
Date: Wed, 18 Jan 2023 11:23:34 -0800 [thread overview]
Message-ID: <b7c5d9ba-f5c4-48ff-a65c-da7d7d8d8b32@amd.com> (raw)
In-Reply-To: <96081a96-e74c-8165-c0e6-212a670c9074@linaro.org>
On 1/17/23 12:16 AM, Krzysztof Kozlowski wrote:
> On 16/01/2023 18:43, Tanmay Shah wrote:
>> On 1/15/23 6:38 AM, Krzysztof Kozlowski wrote:
>>> On 13/01/2023 19:08, Tanmay Shah wrote:
>>>> On 1/12/23 11:52 PM, Krzysztof Kozlowski wrote:
>>>>> On 13/01/2023 08:30, Tanmay Shah wrote:
>>>>>> This patch introduces bindings for TCM memory address space on AMD-xilinx
>>>>>> platforms. As of now TCM addresses are hardcoded in xilinx remoteproc
>>>>>> driver. This bindings will help in defining TCM in device-tree and
>>>>>> make it's access platform agnostic and data-driven from the driver.
>>>>>>
>>>>> Subject: drop second/last, redundant "bindings". The "dt-bindings"
>>>>> prefix is already stating that these are bindings.
>>>> Ack.
>>>>
>>>>
>>>>> Where is driver or DTS? Are you now adding a dead binding without users?
>>>> TCM is used by drivers/remoteproc/xlnx_r5_remoteproc.c driver. Howerver,
>>>> we have hardcode addresses in TCM as bindings are not available yet.
>>> I don't see usage of these compatibles there. You also did not supply
>>> DTS here. Please provide users of bindings within the same patchset.
>>
>> ACK. I will supply dts as well.
>>
>> However, Is it ok if I convert this patch to RFC patch, and once
>> bindings are fixed I will send actual patch with driver support.
>>
>> If bindings design is not correct then I might have to change
>> corresponding driver design lot.
> First, why this driver is particularly special? Why should have other
> treatment then all other cases?
It's not different than others and shouldn't be treated differently. I
just didn't know correct bindings representation.
Now I have some idea how this should be represented, so I will send
bindings patch, dts patch and driver patch all in same series.
>
> Second, so think about bindings and do not submit something for "driver"
> but something describing hardware.
ACK. It will take me some time to post next patch, as I will add support
of this tcm device in xlnx remoteproc driver as well.
Thanks for all your suggestions, they were helpful.
>
> Best regards,
> Krzysztof
>
next prev parent reply other threads:[~2023-01-18 19:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 7:30 [PATCH] dt-bindings: sram: Tightly Coupled Memory (TCM) bindings Tanmay Shah
2023-01-13 7:52 ` Krzysztof Kozlowski
2023-01-13 18:04 ` Tanmay Shah
2023-01-15 14:45 ` Krzysztof Kozlowski
2023-01-16 18:17 ` Tanmay Shah
2023-01-17 8:13 ` Krzysztof Kozlowski
2023-01-13 7:52 ` Krzysztof Kozlowski
2023-01-13 18:08 ` Tanmay Shah
2023-01-15 14:38 ` Krzysztof Kozlowski
2023-01-16 17:43 ` Tanmay Shah
2023-01-17 8:16 ` Krzysztof Kozlowski
2023-01-18 19:23 ` Tanmay Shah [this message]
2023-01-13 13:59 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7c5d9ba-f5c4-48ff-a65c-da7d7d8d8b32@amd.com \
--to=tanmays@amd.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=tanmay.shah@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).