Merge tag 'samsung-soc-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk...
authorOlof Johansson <olof@lixom.net>
Mon, 13 Jun 2016 21:24:39 +0000 (14:24 -0700)
committerOlof Johansson <olof@lixom.net>
Mon, 13 Jun 2016 21:24:39 +0000 (14:24 -0700)
Samsung mach/soc update for v4.8:
1. Minor cleanups.

* tag 'samsung-soc-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: s3c24xx: Sort cpufreq tables
  ARM: SAMSUNG: Fix typos

Signed-off-by: Olof Johansson <olof@lixom.net>
13 files changed:
arch/arm/mach-s3c24xx/include/mach/regs-gpio.h
arch/arm/mach-s3c24xx/iotiming-s3c2410.c
arch/arm/mach-s3c24xx/mach-n30.c
arch/arm/mach-s3c24xx/mach-osiris-dvs.c
arch/arm/mach-s3c24xx/pll-s3c2410.c
arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c
arch/arm/mach-s3c64xx/include/mach/map.h
arch/arm/plat-samsung/include/plat/cpu-freq-core.h
arch/arm/plat-samsung/include/plat/fb-s3c2410.h
arch/arm/plat-samsung/include/plat/gpio-cfg.h
arch/arm/plat-samsung/pm-check.c
arch/arm/plat-samsung/watchdog-reset.c

index c6583cf..0d622f3 100644 (file)
 #define S3C24XX_EXTINT1           S3C24XX_GPIOREG2(0x8C)
 #define S3C24XX_EXTINT2           S3C24XX_GPIOREG2(0x90)
 
-/* interrupt filtering conrrol for EINT16..EINT23 */
+/* interrupt filtering control for EINT16..EINT23 */
 #define S3C2410_EINFLT0           S3C2410_GPIOREG(0x94)
 #define S3C2410_EINFLT1           S3C2410_GPIOREG(0x98)
 #define S3C2410_EINFLT2           S3C2410_GPIOREG(0x9C)
index 4cd13ab..65e5f9c 100644 (file)
@@ -423,7 +423,7 @@ void s3c2410_iotiming_set(struct s3c_cpufreq_config *cfg,
  * @timings: The IO timing information to fill out.
  *
  * Calculate the @timings timing information from the current frequency
- * information in @cfg, and the new frequency configur
+ * information in @cfg, and the new frequency configuration
  * through all the IO banks, reading the state and then updating @iot
  * as necessary.
  *
index 171c1f1..070a0d0 100644 (file)
@@ -522,7 +522,7 @@ static void __init n30_hwinit(void)
         *
         * The pull ups for H6/H7 are enabled on N30 but not on the
         * N35/PiN.  I suppose is useful for a budget model of the N30
-        * with no bluetooh.  It doesn't hurt to have the pull ups
+        * with no bluetooth.  It doesn't hurt to have the pull ups
         * enabled on the N35, so leave them enabled for all models.
         */
        __raw_writel(0x0028aaaa, S3C2410_GPHCON);
index ce2db23..262ab07 100644 (file)
@@ -143,7 +143,7 @@ static int osiris_dvs_remove(struct platform_device *pdev)
        return 0;
 }
 
-/* the CONFIG_PM block is so small, it isn't worth actaully compiling it
+/* the CONFIG_PM block is so small, it isn't worth actually compiling it
  * out if the configuration isn't set. */
 
 static int osiris_dvs_suspend(struct device *dev)
index 5e37d36..7ee4924 100644 (file)
 #include <plat/cpu.h>
 #include <plat/cpu-freq-core.h>
 
+/* This array should be sorted in ascending order of the frequencies */
 static struct cpufreq_frequency_table pll_vals_12MHz[] = {
     { .frequency = 34000000,  .driver_data = PLLVAL(82, 2, 3),   },
     { .frequency = 45000000,  .driver_data = PLLVAL(82, 1, 3),   },
-    { .frequency = 51000000,  .driver_data = PLLVAL(161, 3, 3),  },
     { .frequency = 48000000,  .driver_data = PLLVAL(120, 2, 3),  },
+    { .frequency = 51000000,  .driver_data = PLLVAL(161, 3, 3),  },
     { .frequency = 56000000,  .driver_data = PLLVAL(142, 2, 3),  },
     { .frequency = 68000000,  .driver_data = PLLVAL(82, 2, 2),   },
     { .frequency = 79000000,  .driver_data = PLLVAL(71, 1, 2),   },
index b355fca..a3fbfed 100644 (file)
@@ -20,6 +20,7 @@
 #include <plat/cpu.h>
 #include <plat/cpu-freq-core.h>
 
+/* This array should be sorted in ascending order of the frequencies */
 static struct cpufreq_frequency_table s3c2440_plls_12[] = {
        { .frequency = 75000000,        .driver_data = PLLVAL(0x75, 3, 3),  },  /* FVco 600.000000 */
        { .frequency = 80000000,        .driver_data = PLLVAL(0x98, 4, 3),  },  /* FVco 640.000000 */
index be9a248..bcff89f 100644 (file)
@@ -20,6 +20,7 @@
 #include <plat/cpu.h>
 #include <plat/cpu-freq-core.h>
 
+/* This array should be sorted in ascending order of the frequencies */
 static struct cpufreq_frequency_table s3c2440_plls_169344[] = {
        { .frequency = 78019200,        .driver_data = PLLVAL(121, 5, 3),       },      /* FVco 624.153600 */
        { .frequency = 84067200,        .driver_data = PLLVAL(131, 5, 3),       },      /* FVco 672.537600 */
index f55ccb1..d51873e 100644 (file)
@@ -99,7 +99,7 @@
 
 #define S3C64XX_PA_USB_HSPHY   (0x7C100000)
 
-/* compatibiltiy defines. */
+/* compatibility defines. */
 #define S3C_PA_TIMER           S3C64XX_PA_TIMER
 #define S3C_PA_HSMMC0          S3C64XX_PA_HSMMC0
 #define S3C_PA_HSMMC1          S3C64XX_PA_HSMMC1
index 317c523..37cf20e 100644 (file)
@@ -39,7 +39,7 @@ struct s3c2410_iobank_timing {
        unsigned int    tacs;
        unsigned int    tcos;
        unsigned int    tacc;
-       unsigned int    tcoh;           /* nCS hold afrer nOE/nWE */
+       unsigned int    tcoh;           /* nCS hold after nOE/nWE */
        unsigned int    tcah;           /* Address hold after nCS */
        unsigned char   nwait_en;       /* nWait enabled for bank. */
 };
index 4e5d958..1f2972a 100644 (file)
@@ -48,7 +48,7 @@ struct s3c2410fb_display {
 
 struct s3c2410fb_mach_info {
 
-       struct s3c2410fb_display *displays;     /* attached diplays info */
+       struct s3c2410fb_display *displays;     /* attached displays info */
        unsigned num_displays;                  /* number of defined displays */
        unsigned default_display;
 
index b5294ef..21391fa 100644 (file)
@@ -35,7 +35,7 @@ struct samsung_gpio_chip;
  * struct samsung_gpio_cfg GPIO configuration
  * @cfg_eint: Configuration setting when used for external interrupt source
  * @get_pull: Read the current pull configuration for the GPIO
- * @set_pull: Set the current pull configuraiton for the GPIO
+ * @set_pull: Set the current pull configuration for the GPIO
  * @set_config: Set the current configuration for the GPIO
  * @get_config: Read the current configuration for the GPIO
  *
index 70f2f69..d635163 100644 (file)
@@ -5,7 +5,7 @@
  *     http://armlinux.simtec.co.uk
  *     Ben Dooks <ben@simtec.co.uk>
  *
- * S3C Power Mangament - suspend/resume memory corruptiuon check.
+ * S3C Power Mangament - suspend/resume memory corruption check.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
index 2ecb50b..307d8ad 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2008 Simtec Electronics
  *     Ben Dooks <ben@simtec.co.uk>
  *
- * Coyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
+ * Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
  *
  * Watchdog reset support for Samsung SoCs.
  *