1. 15 Dec, 2020 4 commits
  2. 08 Dec, 2020 2 commits
    • Ravi Patel's avatar
      zynqmp: pm: Update flags in common clk divisor node · c8f62536
      Ravi Patel authored
      
      
      Current implementation doesn't support change of div1 value if clk
      has 2 divisor because div1 clk is the parent of the div2 clk and div2
      clk does not have SET_RATE_PARENT flag.
      This causes div1 value to be fixed and only value of div2 will be
      adjusted according to required clock rate.
      
      Example:
       Consider a case of nand_ref clock which has 2 divisor and 1 mux.
       The frequency of mux clock is 1500MHz and default value of div1 and
       div2 is 15 and 1 respectively. So the final clock will be of 100MHz.
       When driver requests 80MHz for nand_ref clock, clock framework will
       adjust the div2 value to 1 (setting div2 value 2 results final clock
       to 50MHz which is more inaccurate compare to 100Mhz) which results
       final clock to 100MHz.
       Ideally the value of div1 and div2 should be updated to 19 and 1
       respectively so that final clock goes to around 78MHz.
      
      This patch fixes above problem by allowing change in div1 value.
      Signed-off-by: default avatarRavi Patel <ravi.patel@xilinx.com>
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Change-Id: Ibb98f6748d28653fdd1e59bf433b6a37ce9c1a58
      c8f62536
    • Siva Durga Prasad Paladugu's avatar
      zynqmp: pm_api_clock: Copy only the valid bytes · f2afaad0
      Siva Durga Prasad Paladugu authored
      
      
      This patches copies only the valid part of string and
      avoids filling junk at the end.
      Signed-off-by: default avatarSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Change-Id: If23772f31f9cf7f5042e8bfc474fbfe77dcd90e7
      f2afaad0
  3. 07 Dec, 2020 2 commits
  4. 04 Dec, 2020 1 commit
  5. 12 Nov, 2020 3 commits
  6. 09 Oct, 2020 1 commit
    • Jimmy Brisson's avatar
      Don't return error information from console_flush · 831b0e98
      Jimmy Brisson authored
      
      
      And from crash_console_flush.
      
      We ignore the error information return by console_flush in _every_
      place where we call it, and casting the return type to void does not
      work around the MISRA violation that this causes. Instead, we collect
      the error information from the driver (to avoid changing that API), and
      don't return it to the caller.
      
      Change-Id: I1e35afe01764d5c8f0efd04f8949d333ffb688c1
      Signed-off-by: default avatarJimmy Brisson <jimmy.brisson@arm.com>
      831b0e98
  7. 30 Mar, 2020 1 commit
  8. 25 Feb, 2020 1 commit
  9. 30 Jan, 2020 1 commit
  10. 24 Jan, 2020 1 commit
  11. 23 Jan, 2020 1 commit
  12. 22 Jan, 2020 1 commit
  13. 15 Jan, 2020 9 commits
  14. 07 Jan, 2020 7 commits
  15. 19 Nov, 2019 1 commit
    • Justin Chadwell's avatar
      Enable -Wlogical-op always · d7b4cd41
      Justin Chadwell authored
      
      
      -Wlogical-op prevents common errors with using numerical constants where
      a boolean one is expected as well as when the operands of a logical
      operator are the same. While these are perfectly valid behavior, they
      can be a sign that something is slightly off.
      
      This patch adds this warning to gcc and it's closest equivalent to
      clang, while also fixing any warnings that enabling them causes.
      
      Change-Id: Iabadfc1e6ee0c44eef6685a23b0aed8abef8ce89
      Signed-off-by: default avatarJustin Chadwell <justin.chadwell@arm.com>
      d7b4cd41
  16. 10 Sep, 2019 1 commit
  17. 01 Jul, 2019 1 commit
  18. 08 Mar, 2019 1 commit
  19. 01 Feb, 2019 1 commit