kernel: bump 4.14 to 4.14.44
[openwrt/staging/hauke.git] / target / linux / mediatek / patches-4.14 / 0117-soc-mediatek-pwrap-add-pwrap_read32-for-reading-in-3.patch
index c178ddca7a3403cad017dd48496e615c2107ee9b..ce0b0fe473e9e7fbe6bf56673c3e0698c7e384a0 100644 (file)
@@ -18,8 +18,6 @@ Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
  drivers/soc/mediatek/mtk-pmic-wrap.c | 55 +++++++++++++++++++++++++++++++++++-
  1 file changed, 54 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
-index f095faac1e04..06930e2ebe4c 100644
 --- a/drivers/soc/mediatek/mtk-pmic-wrap.c
 +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
 @@ -487,6 +487,7 @@ static int mt8135_regs[] = {
@@ -47,7 +45,7 @@ index f095faac1e04..06930e2ebe4c 100644
  };
  
  struct pmic_wrapper {
-@@ -609,7 +617,7 @@ static int pwrap_write(struct pmic_wrapper *wrp, u32 adr, u32 wdata)
+@@ -609,7 +617,7 @@ static int pwrap_write(struct pmic_wrapp
        return 0;
  }
  
@@ -56,7 +54,7 @@ index f095faac1e04..06930e2ebe4c 100644
  {
        int ret;
  
-@@ -632,6 +640,39 @@ static int pwrap_read(struct pmic_wrapper *wrp, u32 adr, u32 *rdata)
+@@ -632,6 +640,39 @@ static int pwrap_read(struct pmic_wrappe
        return 0;
  }
  
@@ -96,7 +94,7 @@ index f095faac1e04..06930e2ebe4c 100644
  static int pwrap_regmap_read(void *context, u32 adr, u32 *rdata)
  {
        return pwrap_read(context, adr, rdata);
-@@ -752,6 +793,8 @@ static int pwrap_mt2701_init_reg_clock(struct pmic_wrapper *wrp)
+@@ -752,6 +793,8 @@ static int pwrap_mt2701_init_reg_clock(s
                pwrap_writel(wrp, 0x2, PWRAP_CSLEXT_START);
                pwrap_writel(wrp, 0x2, PWRAP_CSLEXT_END);
                break;
@@ -105,7 +103,7 @@ index f095faac1e04..06930e2ebe4c 100644
        }
  
        return 0;
-@@ -815,6 +858,8 @@ static int pwrap_init_cipher(struct pmic_wrapper *wrp)
+@@ -815,6 +858,8 @@ static int pwrap_init_cipher(struct pmic
                pwrap_write(wrp, wrp->slave->dew_regs[PWRAP_DEW_CIPHER_EN],
                            0x1);
                break;
@@ -114,7 +112,7 @@ index f095faac1e04..06930e2ebe4c 100644
        }
  
        /* wait for cipher data ready@AP */
-@@ -1036,11 +1081,19 @@ static const struct regmap_config pwrap_regmap_config = {
+@@ -1036,11 +1081,19 @@ static const struct regmap_config pwrap_
  static const struct pwrap_slv_type pmic_mt6323 = {
        .dew_regs = mt6323_regs,
        .type = PMIC_MT6323,
@@ -134,6 +132,3 @@ index f095faac1e04..06930e2ebe4c 100644
  };
  
  static const struct of_device_id of_slave_match_tbl[] = {
--- 
-2.11.0
-