Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1732120
| From | Oleksij Rempel <ore@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example |
| Date | 2017-09-14 11:10 +0200 |
| Message-ID | <upyjM-357-15@gated-at.bofh.it> (permalink) |
| References | <upwL0-22k-1@gated-at.bofh.it> <upxnI-2uK-19@gated-at.bofh.it> <upxxo-2xM-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 14.09.2017 10:16, Masahiro Yamada wrote:
> Hi.
>
>
> 2017-09-14 17:04 GMT+09:00 Oleksij Rempel <ore@pengutronix.de>:
>> Hi,
>>
>> i assume arch/arm/boot/dts/socfpga.dtsi should be update as well. Right?
>
> I think so.
> (also arch/arm/boot/dts/socfpga_arria10.dtsi in the same way)
Hm.. according to
https://www.altera.com/en_US/pdfs/literature/hb/cyclone-v/cyclone5_handbook.pdf
Table 13-18: NAND Controller Module Data Space Address Range
Module Instance Start Address End Address
NAND_DATA 0xFF900000 0xFF9FFFFF
So <0xff900000 0x100000> seems to be a proper value.
> The wrong property "dma-mask" was removed by
> commit 60d920d32ca40660e382cf9ccbc236599a49e607.
>
>
>
>> On 14.09.2017 09:17, Masahiro Yamada wrote:
>>>
>>> This example allocates too much for register regions. Especially,
>>> there are only two registers in the "nand_data" interface of this
>>> hardware (ADDR: 0x00, DATA: 0x10).
>>>
>>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>>> ---
>>>
>>> Documentation/devicetree/bindings/mtd/denali-nand.txt | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/mtd/denali-nand.txt
>>> b/Documentation/devicetree/bindings/mtd/denali-nand.txt
>>> index 504291d..0ee8edb 100644
>>> --- a/Documentation/devicetree/bindings/mtd/denali-nand.txt
>>> +++ b/Documentation/devicetree/bindings/mtd/denali-nand.txt
>>> @@ -29,7 +29,7 @@ nand: nand@ff900000 {
>>> #address-cells = <1>;
>>> #size-cells = <1>;
>>> compatible = "altr,socfpga-denali-nand";
>>> - reg = <0xff900000 0x100000>, <0xffb80000 0x10000>;
>>> + reg = <0xff900000 0x20>, <0xffb80000 0x1000>;
>>> reg-names = "nand_data", "denali_reg";
>>> interrupts = <0 144 4>;
>>> };
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe devicetree" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] dt-bindings: nand: denali: reduce the register space in the example Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-14 09:30 +0200
Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example Oleksij Rempel <ore@pengutronix.de> - 2017-09-14 10:10 +0200
Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-14 10:20 +0200
Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example Oleksij Rempel <ore@pengutronix.de> - 2017-09-14 11:10 +0200
Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-21 07:30 +0200
Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example Oleksij Rempel <ore@pengutronix.de> - 2017-09-21 08:10 +0200
Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-21 13:20 +0200
Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example Rob Herring <robh@kernel.org> - 2017-09-22 01:00 +0200
csiph-web