Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-27 Thread Chuanhong Guo
Hi! On Sun, Dec 27, 2020 at 8:49 PM Rafaël Carré wrote: > Thanks for the explanation. > > I had a look at the datasheet, also at the commits log of spi-mt7621.c. > This also explains why I had to use dd bs=32 to get correct MTD reads. > > I am still a bit confused by the difference between

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-27 Thread Rafaël Carré
Hi, On 12/24/20 03:39, Chuanhong Guo wrote: On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: diff --git a/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch b/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch new file mode 100644 index

RE: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-24 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Rafaël Carré > Sent: Donnerstag, 24. Dezember 2020 09:33 > To: Chuanhong Guo > Cc: OpenWrt Development List > Subject: Re: [PATCH 3/3] ramips: add RT68

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-24 Thread Rafaël Carré
Hi, On 12/24/20 03:12, Chuanhong Guo wrote: Hi! On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: TODO: the spi-mt7621 patches will break support for other targets And please try your best to finish the TODOs before sending them for review. Or send it as RFC instead. No problem.

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Chuanhong Guo
On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: > diff --git > a/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch > b/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch > new file mode 100644 > index 00..972e969fc4 > --- /dev/null > +++

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Chuanhong Guo
Hi! On Thu, Dec 24, 2020 at 10:12 AM Chuanhong Guo wrote: > > Hi! > > On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: > > > > TODO: the spi-mt7621 patches will break support for other targets > > Does that work on RT6855A at all? spi-mt7621 is a mediatek IP core. > For a Ralink SoC I'm

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Chuanhong Guo
Hi! On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: > > TODO: the spi-mt7621 patches will break support for other targets Does that work on RT6855A at all? spi-mt7621 is a mediatek IP core. For a Ralink SoC I'm expected to see a controller supported by existing spi-ralink.c instead. The

[PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Rafaël Carré
TODO: the spi-mt7621 patches will break support for other targets Signed-off-by: Rafaël Carré --- ...-ralink-adds-support-for-RT6855A-SoC.patch | 688 ++ .../304-HACK-spi-mt7621-rt6855a-fix.patch | 35 + ...HACK-spi-mt7621.c-hardcode-frequency.patch | 69 +