1. 15 Oct, 2021 13 commits
  2. 05 Oct, 2021 16 commits
  3. 22 Sep, 2021 8 commits
    • Yunus Bas's avatar
      ARM: dts: imx6: phycore-som: Disable micro-SD write protection · d555a229
      Yunus Bas authored
      The micro-SD card doesn't feature a write-protect pin. Set the
      corresponding property in the devicetree to handle this behavior
      correctly and suppress driver warnings.
      Signed-off-by: default avatarYunus Bas <y.bas@phytec.de>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      d555a229
    • Richard Zhu's avatar
      ARM: dts: imx: fix the schema check errors · 63651ef2
      Richard Zhu authored
      - ranges property should be grouped by region, with no functional
        changes. Otherwise, schema dtbs_check would report the following errors.
      "linux-imx/arch/arm/boot/dts/imx6qp-vicutp.dt.yaml: pcie@1ffc000: ranges: 'oneOf' conditional failed, one must be fixed:
              linux-imx/arch/arm/boot/dts/imx6qp-vicutp.dt.yaml: pcie@1ffc000: ranges: 'oneOf' conditional failed, one must be fixed:
                      [[2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640]] is not of type 'boolean'
                      True was expected
                      [[2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640]] is not of type 'null'
              [2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640] is too long
              From schema: linux-imx/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml"
      - refer to commit 281f1f99 ("PCI: dwc: Detect number of iATU windows").
        The num-viewport is not required anymore, remove them totally.
      - dt_binding_check complains "compatible: ['fsl,imx6qp-pcie', 'snps,dw-pcie']
        is too long", remove "snps,dw-pcie" from the compatible string.
      Signed-off-by: default avatarRichard Zhu <hongxing.zhu@nxp.com>
      Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      63651ef2
    • Fabio Estevam's avatar
      ARM: dts: imx7d-sdb: Fix the SPI chipselect polarity · 6c418328
      Fabio Estevam authored
      The following warning is seen when the SPI GPIO driver probes:
      
      gpio-expander@0 enforce active low on chipselect handle
      
      The reason for this warning is clearly explained in the comments inside
      drivers/gpio/gpiolib-of.c:
      
      * SPI children have active low chip selects
      * by default. This can be specified negatively
      * by just omitting "spi-cs-high" in the
      * device node, or actively by tagging on
      * GPIO_ACTIVE_LOW as flag in the device
      * tree. If the line is simultaneously
      * tagged as active low in the device tree
      * and has the "spi-cs-high" set, we get a
      * conflict and the "spi-cs-high" flag will
      * take precedence.
      
      To properly represent the SPI chipselect polarity, change it to active-low
      when the "spi-cs-high" property is absent.
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      6c418328
    • Fabio Estevam's avatar
      ARM: dts: imx6qdl-tqma6: Fix the SPI chipselect polarity · e40d0706
      Fabio Estevam authored
      The conversion of the spi-imx driver to use GPIO descriptors
      in commit 8cdcd8ae ("spi: imx/fsl-lpspi: Convert to GPIO descriptors")
      helped to detect the following SPI chipselect polarity mismatch on an
      imx6q-sabresd for example:
      
      [    4.854337] m25p80@0 enforce active low on chipselect handle
      
      Prior to the above commit, the chipselect polarity passed via cs-gpios
      property was ignored and considered active-low.
      
      The reason for such mismatch is clearly explained in the comments inside
      drivers/gpio/gpiolib-of.c:
      
      * SPI children have active low chip selects
      * by default. This can be specified negatively
      * by just omitting "spi-cs-high" in the
      * device node, or actively by tagging on
      * GPIO_ACTIVE_LOW as flag in the device
      * tree. If the line is simultaneously
      * tagged as active low in the device tree
      * and has the "spi-cs-high" set, we get a
      * conflict and the "spi-cs-high" flag will
      * take precedence.
      
      To properly represent the SPI chipselect polarity, change it to active-low
      when the "spi-cs-high" property is absent.
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      e40d0706
    • Fabio Estevam's avatar
      ARM: dts: imx6qp-prtwd3: Fix the SPI chipselect polarity · 70b211dd
      Fabio Estevam authored
      The conversion of the spi-imx driver to use GPIO descriptors
      in commit 8cdcd8ae ("spi: imx/fsl-lpspi: Convert to GPIO descriptors")
      helped to detect the following SPI chipselect polarity mismatch on an
      imx6q-sabresd for example:
      
      [    4.854337] m25p80@0 enforce active low on chipselect handle
      
      Prior to the above commit, the chipselect polarity passed via cs-gpios
      property was ignored and considered active-low.
      
      The reason for such mismatch is clearly explained in the comments inside
      drivers/gpio/gpiolib-of.c:
      
      * SPI children have active low chip selects
      * by default. This can be specified negatively
      * by just omitting "spi-cs-high" in the
      * device node, or actively by tagging on
      * GPIO_ACTIVE_LOW as flag in the device
      * tree. If the line is simultaneously
      * tagged as active low in the device tree
      * and has the "spi-cs-high" set, we get a
      * conflict and the "spi-cs-high" flag will
      * take precedence.
      
      To properly represent the SPI chipselect polarity, change it to active-low
      when the "spi-cs-high" property is absent.
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Reviewed-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      70b211dd
    • Fabio Estevam's avatar
      ARM: dts: imx6dl-alti6p: Fix the SPI chipselect polarity · 97eb19d8
      Fabio Estevam authored
      The conversion of the spi-imx driver to use GPIO descriptors
      in commit 8cdcd8ae ("spi: imx/fsl-lpspi: Convert to GPIO descriptors")
      helped to detect the following SPI chipselect polarity mismatch on an
      imx6q-sabresd for example:
      
      [    4.854337] m25p80@0 enforce active low on chipselect handle
      
      Prior to the above commit, the chipselect polarity passed via cs-gpios
      property was ignored and considered active-low.
      
      The reason for such mismatch is clearly explained in the comments inside
      drivers/gpio/gpiolib-of.c:
      
      * SPI children have active low chip selects
      * by default. This can be specified negatively
      * by just omitting "spi-cs-high" in the
      * device node, or actively by tagging on
      * GPIO_ACTIVE_LOW as flag in the device
      * tree. If the line is simultaneously
      * tagged as active low in the device tree
      * and has the "spi-cs-high" set, we get a
      * conflict and the "spi-cs-high" flag will
      * take precedence.
      
      To properly represent the SPI chipselect polarity, change it to active-low
      when the "spi-cs-high" property is absent.
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Reviewed-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      97eb19d8
    • Michal Vokáč's avatar
      ARM: dts: imx6dl-yapp4: Remove the unused white LED channel · 417a9845
      Michal Vokáč authored
      Since the reg property was added to each channel node in commit
      b86d3d21 ("ARM: dts: imx6dl-yapp4: Add reg property to the lp5562
      channel node") it is possible to skip unused channels.
      
      Remove the actually unused white LED channel.
      Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      417a9845
    • Michal Vokáč's avatar
      ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe · 9b663b34
      Michal Vokáč authored
      Since the LED multicolor framework support was added in commit
      92a81562 ("leds: lp55xx: Add multicolor framework support to lp55xx")
      LEDs on this platform stopped working.
      
      Author of the framework attempted to accommodate this DT to the
      framework in commit b86d3d21 ("ARM: dts: imx6dl-yapp4: Add reg property
      to the lp5562 channel node") but that is not sufficient. A color property
      is now required even if the multicolor framework is not used, otherwise
      the driver probe fails:
      
        lp5562: probe of 1-0030 failed with error -22
      
      Add the color property to fix this.
      
      Fixes: 92a81562 ("leds: lp55xx: Add multicolor framework support to lp55xx")
      Cc: <stable@vger.kernel.org>
      Cc: linux-leds@vger.kernel.org
      Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      9b663b34
  4. 12 Sep, 2021 3 commits
    • Linus Torvalds's avatar
      Linux 5.15-rc1 · 6880fa6c
      Linus Torvalds authored
      6880fa6c
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-for-v5.15-2021-09-11' of... · b5b65f13
      Linus Torvalds authored
      Merge tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
      
       - Add missing fields and remove some duplicate fields when printing a
         perf_event_attr.
      
       - Fix hybrid config terms list corruption.
      
       - Update kernel header copies, some resulted in new kernel features
         being automagically added to 'perf trace' syscall/tracepoint argument
         id->string translators.
      
       - Add a file generated during the documentation build to .gitignore.
      
       - Add an option to build without libbfd, as some distros, like Debian
         consider its ABI unstable.
      
       - Add support to print a textual representation of IBS raw sample data
         in 'perf report'.
      
       - Fix bpf 'perf test' sample mismatch reporting
      
       - Fix passing arguments to stackcollapse report in a 'perf script'
         python script.
      
       - Allow build-id with trailing zeros.
      
       - Look for ImageBase in PE file to compute .text offset.
      
      * tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (25 commits)
        tools headers UAPI: Update tools's copy of drm.h headers
        tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
        tools headers UAPI: Sync linux/fs.h with the kernel sources
        tools headers UAPI: Sync linux/in.h copy with the kernel sources
        perf tools: Add an option to build without libbfd
        perf tools: Allow build-id with trailing zeros
        perf tools: Fix hybrid config terms list corruption
        perf tools: Factor out copy_config_terms() and free_config_terms()
        perf tools: Fix perf_event_attr__fprintf() missing/dupl. fields
        perf tools: Ignore Documentation dependency file
        perf bpf: Provide a weak btf__load_from_kernel_by_id() for older libbpf versions
        tools include UAPI: Update linux/mount.h copy
        perf beauty: Cover more flags in the  move_mount syscall argument beautifier
        tools headers UAPI: Sync linux/prctl.h with the kernel sources
        tools include UAPI: Sync sound/asound.h copy with the kernel sources
        tools headers UAPI: Sync linux/kvm.h with the kernel sources
        tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources
        perf report: Add support to print a textual representation of IBS raw sample data
        perf report: Add tools/arch/x86/include/asm/amd-ibs.h
        perf env: Add perf_env__cpuid, perf_env__{nr_}pmu_mappings
        ...
      b5b65f13
    • Linus Torvalds's avatar
      Merge tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda/linux · c3e46874
      Linus Torvalds authored
      Pull compiler attributes updates from Miguel Ojeda:
      
       - Fix __has_attribute(__no_sanitize_coverage__) for GCC 4 (Marco Elver)
      
       - Add Nick as Reviewer for compiler_attributes.h (Nick Desaulniers)
      
       - Move __compiletime_{error|warning} (Nick Desaulniers)
      
      * tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda/linux:
        compiler_attributes.h: move __compiletime_{error|warning}
        MAINTAINERS: add Nick as Reviewer for compiler_attributes.h
        Compiler Attributes: fix __has_attribute(__no_sanitize_coverage__) for GCC 4
      c3e46874