[PATCH 1/3] at91: add pioBU label to secumod

Claudiu.Beznea at microchip.com Claudiu.Beznea at microchip.com
Sun Jul 25 21:53:24 PDT 2021


On 24.07.2021 20:42, Hauke Mehrtens wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
> 
> On 7/16/21 7:08 AM, Claudiu Beznea wrote:
>> Add pioBU label to secumod. Along with this set gpio controller
>> properties for secumod.
>>
>> Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>
>> ---
>>   .../linux/at91/patches-5.4/104-add-piobu.patch   | 16 ++++++++++++++++
>>   1 file changed, 16 insertions(+)
>>   create mode 100644 target/linux/at91/patches-5.4/104-add-piobu.patch
>>
>> diff --git a/target/linux/at91/patches-5.4/104-add-piobu.patch
>> b/target/linux/at91/patches-5.4/104-add-piobu.patch
>> new file mode 100644
>> index 000000000000..2495fe4635a1
>> --- /dev/null
>> +++ b/target/linux/at91/patches-5.4/104-add-piobu.patch
> 
> Please take this patch from upstream with the comments in it:
> https://git.kernel.org/linus/4514a7c81234673a764c59e59a0c34c1921f093b

Hi Hauke,

Thank you for your review. I am new to this mailing list thus I wasn't sure
the best approach for back-porting patches. So, in case the patches are
already published to official open source repositories (like Linux kernel)
is it OK to just get the patches with all the comments and tags and place
them in the proper directory, right (this is what I understand from your
reply)? Up to this moment I wasn't sure about this and I was inclined to
follow the procedure at [1] (which is found complicated for back-porting).

Thank you,
Claudiu Beznea

[1]
https://openwrt.org/docs/guide-developer/build-system/use-patches-with-buildsystem

> 
>> @@ -0,0 +1,16 @@
>> +--- a/arch/arm/boot/dts/sama5d2.dtsi
>> ++++ b/arch/arm/boot/dts/sama5d2.dtsi
>> +@@ -885,9 +885,12 @@
>> +                             clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
>> +                     };
>> +
>> +-                    secumod at fc040000 {
>> ++                    pioBU: secumod at fc040000 {
>> +                             compatible = "atmel,sama5d2-secumod",
>> "syscon";
>> +                             reg = <0xfc040000 0x100>;
>> ++
>> ++                            gpio-controller;
>> ++                            #gpio-cells = <2>;
>> +                     };
>> +
>> +                     tdes at fc044000 {
>>
> 




More information about the openwrt-devel mailing list