public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v6 18/19] riscv: Add device tree for K210 and Sipeed Maix BitM
Date: Tue, 10 Mar 2020 09:17:20 -0400	[thread overview]
Message-ID: <08ec4581-bf6d-a85c-fd28-77e8d3b07afe@gmail.com> (raw)
In-Reply-To: <CAN5B=eKcRNuy1GZkXJCw68YprBj0n9SeWdJdtkcfp2wSwSKYAA@mail.gmail.com>

On 3/10/20 5:08 AM, Rick Chen wrote:
> Hi Sean
> 
>> Where possible, I have tried to find compatible drivers based on the layout
>> of registers. However, many devices remain untested. All untested devices
>> have been left disabled, but some tentative properties (such as compatible
>> strings, and clocks, interrupts, and resets properties) have been added.
>>
>> Signed-off-by: Sean Anderson <seanga2@gmail.com>
>> ---
>>
>> Changes in v6:
>> - Remove spi, gpio, pinmux, wdt, and led bindings
>> - Use consistent capitalization for hex digits
>>
>> Changes in v5:
>> - Add more compatible strings
>> - Add cache line size
>> - Document CPUs as rocket cores
>> - Flesh out the gpio devices
>> - Add ports for audio and video devices
>> - Add fpioa pinctrl support
>> - Configure pins for MMC on SPI1
>> - Enable MMC
>> - Fix a couple uart properties (Thanks laanwj)
>> - Reorder ram now that relocation is handled with CONFIG_SYS defines
>> - Enable WDT
>> - Add pinctrl properties
>> - Add gpio support
>> - Add led support
>> - Add assorted AV bindings
>> - Add compatible strings for ram
>> - Use GPIO-based CS for MMC
>> - Limit SPI flash to 50 MHz
>>
>> Changes in v4:
>> - Set regs sizes to full address range
>> - Remove clock-frequency property from cpus
>> - Add spi-max-frequency to spi devices from documentation
>> - Add more compatible strings for each device
>> - Add AI ram as a separate memory bank. Its clock is disabled on boot, and
>>   it cannot be accessed
>> - Reorder memory banks so u-boot relocates higher, leaving more room to
>>   load boot images
>> - Add designware ssi CTRL0 field shifts to spi devices
>> - Don't enable the MMC slot
>> - Update copyright
>> - Lint
>>
>> Changes in v3:
>> - Move this patch to the end of the series
>> - Add a max frequency for spi3
>> - Remov unused compatible strings from spi-flash at 0
>> - Add s and u to isa string
>> - Fix mmu-type
>> - Remove cache-line size since it is unused (in u-boot) and undocumented
>>   (upstream)
>> - Add timer interrupts to clint0
>> - Round up various registers
>> - Add riscv,max-priority to plic
>> - Add apb* busses, since they have clocks which need to be enabled to
>>   access their devices
>> - Change uart compatible strings to "snps,dw-apb-uart", since that appears
>>   to match their registers
>> - Add compatible string for wdt*
>> - Add system reset device under sysctl
>> - Add reset device under sysctl
>>
>> Changes in v2:
>> - Model changed to "Sipeed Maix Bit" to match file name
>> - Value of stdout-path fixed
>> - SD card slot compatible changed to "mmc-spi-slot"
>> - "jedec,spi-nor" added to spi flash compatible list
>> - Aliases for spi busses added
>> - timebase-frequency divided by 50 to match timer speed
>> - cpu-frequency renamed to clock-frequency
>> - CPUX_intc restyled to cpuX_intc
>> - "kendryte,k210-soc" added to soc compatible list for future-proofing
>> - PLIC handle renamed to plic0 from pic0
>> - K210_RST_SOC removed from sysrst, due to not being located in the reset
>>   register
>> - K210_RST_* numbers changed to match their bit offset within the reset
>>   register
>> - gpio_controller restyled to gpio-controller
>> - Added a second clock to the dma binding to match what the driver expects
>> - Changed "snps,designware-spi" compatible string to "snps,dw-apb-ssi" to
>>   match the correct driver
>> - Added a name to the spi clocks
>> - Added reg-io-width property to spi bindings
>> - Assigned a default parent to K210_CLK_SPI3
>> - Removed assigned clocks for ACLK and PLLs
>> - Removed u-boot,dm-pre-reloc bindings
>>
>>  arch/riscv/dts/Makefile                 |   1 +
>>  arch/riscv/dts/k210-maix-bit.dts        |  47 ++
>>  arch/riscv/dts/k210.dtsi                | 599 ++++++++++++++++++++++++
>>  include/dt-bindings/reset/k210-sysctl.h |  38 ++
> 
> It is not proper to mix them in one patch.

The bindings and the device trees?

> 
> Thanks,
> Rick
> 

--Sean

  reply	other threads:[~2020-03-10 13:17 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-05 18:12 [PATCH v6 00/19] riscv: Add Sipeed Maix support Sean Anderson
2020-03-05 18:12 ` [PATCH v6 01/19] clk: Always use the supplied struct clk Sean Anderson
2020-03-05 18:12 ` [PATCH v6 02/19] clk: Check that ops of composite clock components exist before calling Sean Anderson
2020-03-05 18:12 ` [PATCH v6 03/19] clk: Unconditionally recursively en-/dis-able clocks Sean Anderson
2020-03-10  6:29   ` Rick Chen
2020-03-10  6:51     ` Rick Chen
2020-03-10 13:14       ` Sean Anderson
2020-03-11  2:09         ` Rick Chen
2020-03-12 18:27           ` Sean Anderson
2020-03-05 18:12 ` [PATCH v6 04/19] clk: Add functions to register CCF clock structs Sean Anderson
2020-03-10  7:08   ` Rick Chen
2020-03-17 19:00     ` Sean Anderson
2020-03-05 18:12 ` [PATCH v6 05/19] clk: Add K210 pll support Sean Anderson
2020-03-05 18:12 ` [PATCH v6 06/19] clk: Add a bypass clock for K210 Sean Anderson
2020-03-05 18:12 ` [PATCH v6 07/19] clk: Add K210 clock support Sean Anderson
2020-03-05 18:12 ` [PATCH v6 08/19] dm: Add support for simple-pm-bus Sean Anderson
2020-03-05 18:12 ` [PATCH v6 09/19] dm: Fix error handling for dev_read_addr_ptr Sean Anderson
2020-03-05 18:12 ` [PATCH v6 10/19] reset: Add generic reset driver Sean Anderson
2020-03-05 18:12 ` [PATCH v6 11/19] lib: Always set errno in hcreate_r Sean Anderson
2020-03-05 18:13 ` [PATCH v6 12/19] riscv: Add headers for asm/global_data.h Sean Anderson
2020-03-05 18:13 ` [PATCH v6 13/19] riscv: Fix race conditions when initializing IPI Sean Anderson
2020-03-10  8:20   ` Rick Chen
2020-03-10 13:16     ` Sean Anderson
2020-03-11  1:33       ` Rick Chen
2020-03-17 19:27         ` Sean Anderson
2020-03-05 18:13 ` [PATCH v6 14/19] riscv: Add option to support RISC-V privileged spec 1.9 Sean Anderson
2020-03-05 18:13 ` [PATCH v6 15/19] riscv: Allow use of reset drivers Sean Anderson
2020-03-05 18:13 ` [PATCH v6 16/19] riscv: Try to get cpu frequency from a "clocks" node if it exists Sean Anderson
2020-03-05 18:13 ` [PATCH v6 17/19] riscv: Enable cpu clock if it is present Sean Anderson
2020-03-05 18:13 ` [PATCH v6 18/19] riscv: Add device tree for K210 and Sipeed Maix BitM Sean Anderson
2020-03-10  9:08   ` Rick Chen
2020-03-10 13:17     ` Sean Anderson [this message]
2020-03-11  1:51       ` Rick Chen
2020-03-05 18:13 ` [PATCH v6 19/19] riscv: Add Sipeed Maix support Sean Anderson
2020-03-10  9:04   ` Rick Chen
2020-03-10 13:19     ` Sean Anderson
2020-03-11  2:05       ` Rick Chen

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=08ec4581-bf6d-a85c-fd28-77e8d3b07afe@gmail.com \
    --to=seanga2@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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