]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Merge branch 'qcom-main' of https://source.denx.de/u-boot/custodians/u-boot-snapdragon
authorTom Rini <trini@konsulko.com>
Fri, 5 Jul 2024 16:22:53 +0000 (10:22 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 5 Jul 2024 16:24:27 +0000 (10:24 -0600)
Various minor fixes and improvements:

* Fix Qualcomm SPMI v5 support
* Move default environment to a file
* Add support for special pins (e.g ufs/mmc reset/data pins)
* IPQ moves to OF_UPSTREAM and receives some cleanup and MAINTAINERS
  changes
* Add a reset driver for devices without PSCI
* msm8916 USB clock improvements for mobile devices

1  2 
drivers/clk/qcom/clock-apq8016.c

index 41fe4d896a7c8f79ec00659f597270c6689a8c43,e9f04dbe6c4f5f214d61083c952115f2d6052887..b5def55dbc2ac671130624dec56592288a0ceb3d
@@@ -116,6 -123,13 +123,13 @@@ static ulong apq8016_clk_set_rate(struc
        case GCC_BLSP1_UART2_APPS_CLK: /* UART2 */
                apq8016_clk_init_uart(priv->base, clk->id);
                return 7372800;
 -                                  rate);
+       case GCC_USB_HS_SYSTEM_CLK:
+               if (rate != 80000000)
+                       log_warning("Unexpected rate %ld requested for USB_HS_SYSTEM_CLK\n",
 -                                   10, 0, 0, CFG_CLK_SRC_GPLL0, 0);
++                                  rate);
+               clk_rcg_set_rate_mnd(priv->base, USB_HS_SYSTEM_CLK_CMD_RCGR,
++                                   10, 0, 0, CFG_CLK_SRC_GPLL0, 0);
+               return rate;
        default:
                return 0;
        }