Skip to content
  • Andre Przywara's avatar
    a665b2c1
    arm64: dts: hisilicon: Fix SP805 clocks · a665b2c1
    Andre Przywara authored
    
    
    The SP805 DT binding requires two clocks to be specified, but
    Hisilicon platform DTs currently only specify one clock.
    
    In practice, Linux would pick a clock named "apb_pclk" for the bus
    clock, and the Linux and U-Boot SP805 driver would use the first clock
    to derive the actual watchdog counter frequency.
    
    Since currently both are the very same clock, we can just double the
    clock reference, and add the correct clock-names, to match the binding.
    
    Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
    Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
    a665b2c1
    arm64: dts: hisilicon: Fix SP805 clocks
    Andre Przywara authored
    
    
    The SP805 DT binding requires two clocks to be specified, but
    Hisilicon platform DTs currently only specify one clock.
    
    In practice, Linux would pick a clock named "apb_pclk" for the bus
    clock, and the Linux and U-Boot SP805 driver would use the first clock
    to derive the actual watchdog counter frequency.
    
    Since currently both are the very same clock, we can just double the
    clock reference, and add the correct clock-names, to match the binding.
    
    Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
    Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
Loading