All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL v2 1/7] soc/tegra: Changes for v6.2-rc1
@ 2022-11-21 17:12 ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-soc-v2

for you to fetch changes up to b6c6bbfc65f53c4d314ea69ff11bad04606e83e4:

  soc/tegra: cbb: Remove redundant dev_err call (2022-11-17 23:21:36 +0100)

Thanks,
Thierry

----------------------------------------------------------------
soc/tegra: Changes for v6.2-rc1

In addition to a number of improvements and cleanups this contains a
fix for the FUSE access on newer chips, adds Tegra234 I/O pad support
and fixes various issues with wake events.

The SoC sysfs revision attribute is updated to include the platform
information so drivers can check for silicon vs. pre-silicon, among
other things.

----------------------------------------------------------------
Kartik (3):
      soc/tegra: fuse: Use SoC specific nvmem cells
      soc/tegra: fuse: Add nvmem keepout list
      soc/tegra: fuse: Use platform info with SoC revision

Liu Shixin (1):
      soc/tegra: cbb: Use DEFINE_SHOW_ATTRIBUTE to simplify tegra_cbb_err

Manish Bhardwaj (1):
      firmware: tegra: include IVC header file only once

Petlozu Pravareshwar (4):
      soc/tegra: pmc: Select IRQ_DOMAIN_HIERARCHY
      soc/tegra: pmc: Add I/O pad table for Tegra234
      soc/tegra: pmc: Fix dual edge triggered wakes
      soc/tegra: pmc: Process wake events during resume

Shang XiaoJing (1):
      soc/tegra: cbb: Remove redundant dev_err call

Sumit Gupta (4):
      soc/tegra: cbb: Use correct master_id mask for CBB NOC in Tegra194
      soc/tegra: cbb: Update slave maps for Tegra234
      soc/tegra: cbb: Add checks for potential out of bound errors
      soc/tegra: cbb: Check firewall before enabling error reporting

 drivers/soc/tegra/Kconfig              |   1 +
 drivers/soc/tegra/cbb/tegra-cbb.c      |  13 +-
 drivers/soc/tegra/cbb/tegra194-cbb.c   |  18 +-
 drivers/soc/tegra/cbb/tegra234-cbb.c   | 170 +++++--
 drivers/soc/tegra/fuse/fuse-tegra.c    | 134 +----
 drivers/soc/tegra/fuse/fuse-tegra30.c  | 278 ++++++++++-
 drivers/soc/tegra/fuse/fuse.h          |   4 +
 drivers/soc/tegra/fuse/tegra-apbmisc.c |   1 +
 drivers/soc/tegra/pmc.c                | 878 +++++++++++++++++++++++----------
 include/soc/tegra/fuse.h               |  15 +
 include/soc/tegra/ivc.h                |   1 +
 include/soc/tegra/pmc.h                |   6 +-
 12 files changed, 1092 insertions(+), 427 deletions(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 1/7] soc/tegra: Changes for v6.2-rc1
@ 2022-11-21 17:12 ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-soc-v2

for you to fetch changes up to b6c6bbfc65f53c4d314ea69ff11bad04606e83e4:

  soc/tegra: cbb: Remove redundant dev_err call (2022-11-17 23:21:36 +0100)

Thanks,
Thierry

----------------------------------------------------------------
soc/tegra: Changes for v6.2-rc1

In addition to a number of improvements and cleanups this contains a
fix for the FUSE access on newer chips, adds Tegra234 I/O pad support
and fixes various issues with wake events.

The SoC sysfs revision attribute is updated to include the platform
information so drivers can check for silicon vs. pre-silicon, among
other things.

----------------------------------------------------------------
Kartik (3):
      soc/tegra: fuse: Use SoC specific nvmem cells
      soc/tegra: fuse: Add nvmem keepout list
      soc/tegra: fuse: Use platform info with SoC revision

Liu Shixin (1):
      soc/tegra: cbb: Use DEFINE_SHOW_ATTRIBUTE to simplify tegra_cbb_err

Manish Bhardwaj (1):
      firmware: tegra: include IVC header file only once

Petlozu Pravareshwar (4):
      soc/tegra: pmc: Select IRQ_DOMAIN_HIERARCHY
      soc/tegra: pmc: Add I/O pad table for Tegra234
      soc/tegra: pmc: Fix dual edge triggered wakes
      soc/tegra: pmc: Process wake events during resume

Shang XiaoJing (1):
      soc/tegra: cbb: Remove redundant dev_err call

Sumit Gupta (4):
      soc/tegra: cbb: Use correct master_id mask for CBB NOC in Tegra194
      soc/tegra: cbb: Update slave maps for Tegra234
      soc/tegra: cbb: Add checks for potential out of bound errors
      soc/tegra: cbb: Check firewall before enabling error reporting

 drivers/soc/tegra/Kconfig              |   1 +
 drivers/soc/tegra/cbb/tegra-cbb.c      |  13 +-
 drivers/soc/tegra/cbb/tegra194-cbb.c   |  18 +-
 drivers/soc/tegra/cbb/tegra234-cbb.c   | 170 +++++--
 drivers/soc/tegra/fuse/fuse-tegra.c    | 134 +----
 drivers/soc/tegra/fuse/fuse-tegra30.c  | 278 ++++++++++-
 drivers/soc/tegra/fuse/fuse.h          |   4 +
 drivers/soc/tegra/fuse/tegra-apbmisc.c |   1 +
 drivers/soc/tegra/pmc.c                | 878 +++++++++++++++++++++++----------
 include/soc/tegra/fuse.h               |  15 +
 include/soc/tegra/ivc.h                |   1 +
 include/soc/tegra/pmc.h                |   6 +-
 12 files changed, 1092 insertions(+), 427 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
@ 2022-11-21 17:12   ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-firmware-v2

for you to fetch changes up to 198d4649b0b813bc9fc1605cfb843b6624518f92:

  firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname() (2022-11-17 23:52:39 +0100)

Thanks,
Thierry

----------------------------------------------------------------
firmware: tegra: Changes for v6.2-rc1

This adds new BPMP ABI so that newer features can be enabled.
Furthermore, the BPMP driver is updated to use iosys-map helpers to
allow working with shared memory regions that are located in system
memory.

Apart from that, several minor cleanups are included.

----------------------------------------------------------------
Peter De Schrijver (1):
      firmware: tegra: Update BPMP ABI

Thierry Reding (3):
      firmware: tegra: bpmp: Prefer u32 over uint32_t
      firmware: tegra: bpmp: Use iosys-map helpers
      firmware: tegra: bpmp: Do not support big-endian

Yang Li (1):
      firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname()

 drivers/firmware/tegra/bpmp-debugfs.c      |   62 +-
 drivers/firmware/tegra/bpmp-tegra186.c     |   36 +-
 drivers/firmware/tegra/bpmp-tegra210.c     |   15 +-
 drivers/firmware/tegra/bpmp.c              |   33 +-
 drivers/firmware/tegra/ivc.c               |  150 ++-
 drivers/thermal/tegra/tegra-bpmp-thermal.c |   15 +-
 include/soc/tegra/bpmp-abi.h               | 1796 +++++++++++++++++++++-------
 include/soc/tegra/bpmp.h                   |   17 +-
 include/soc/tegra/ivc.h                    |   11 +-
 9 files changed, 1545 insertions(+), 590 deletions(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
@ 2022-11-21 17:12   ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-firmware-v2

for you to fetch changes up to 198d4649b0b813bc9fc1605cfb843b6624518f92:

  firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname() (2022-11-17 23:52:39 +0100)

Thanks,
Thierry

----------------------------------------------------------------
firmware: tegra: Changes for v6.2-rc1

This adds new BPMP ABI so that newer features can be enabled.
Furthermore, the BPMP driver is updated to use iosys-map helpers to
allow working with shared memory regions that are located in system
memory.

Apart from that, several minor cleanups are included.

----------------------------------------------------------------
Peter De Schrijver (1):
      firmware: tegra: Update BPMP ABI

Thierry Reding (3):
      firmware: tegra: bpmp: Prefer u32 over uint32_t
      firmware: tegra: bpmp: Use iosys-map helpers
      firmware: tegra: bpmp: Do not support big-endian

Yang Li (1):
      firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname()

 drivers/firmware/tegra/bpmp-debugfs.c      |   62 +-
 drivers/firmware/tegra/bpmp-tegra186.c     |   36 +-
 drivers/firmware/tegra/bpmp-tegra210.c     |   15 +-
 drivers/firmware/tegra/bpmp.c              |   33 +-
 drivers/firmware/tegra/ivc.c               |  150 ++-
 drivers/thermal/tegra/tegra-bpmp-thermal.c |   15 +-
 include/soc/tegra/bpmp-abi.h               | 1796 +++++++++++++++++++++-------
 include/soc/tegra/bpmp.h                   |   17 +-
 include/soc/tegra/ivc.h                    |   11 +-
 9 files changed, 1545 insertions(+), 590 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 3/7] clk: tegra: Changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
@ 2022-11-21 17:12   ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-clk-v2

for you to fetch changes up to 1d9e77b644d2e5c49e6d35f77684bd260ad98557:

  clk: tegra: Support BPMP-FW ABI deny flags (2022-11-19 02:00:32 +0100)

Thanks,
Thierry

----------------------------------------------------------------
clk: tegra: Changes for v6.2-rc1

Implements new ABI flags for certain clocks for which the parent rate
or clock state cannot be changed.

----------------------------------------------------------------
Peter De Schrijver (2):
      firmware: tegra: Update BPMP ABI
      clk: tegra: Support BPMP-FW ABI deny flags

Thierry Reding (4):
      firmware: tegra: bpmp: Prefer u32 over uint32_t
      firmware: tegra: bpmp: Use iosys-map helpers
      firmware: tegra: bpmp: Do not support big-endian
      Merge branch 'for-6.2/firmware' into for-6.2/clk

 drivers/clk/tegra/clk-bpmp.c               |   37 +-
 drivers/firmware/tegra/bpmp-debugfs.c      |   62 +-
 drivers/firmware/tegra/bpmp-tegra186.c     |   36 +-
 drivers/firmware/tegra/bpmp-tegra210.c     |    7 +-
 drivers/firmware/tegra/bpmp.c              |   33 +-
 drivers/firmware/tegra/ivc.c               |  150 ++-
 drivers/thermal/tegra/tegra-bpmp-thermal.c |   15 +-
 include/soc/tegra/bpmp-abi.h               | 1796 +++++++++++++++++++++-------
 include/soc/tegra/bpmp.h                   |   17 +-
 include/soc/tegra/ivc.h                    |   11 +-
 10 files changed, 1577 insertions(+), 587 deletions(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 3/7] clk: tegra: Changes for v6.2-rc1
@ 2022-11-21 17:12   ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-clk-v2

for you to fetch changes up to 1d9e77b644d2e5c49e6d35f77684bd260ad98557:

  clk: tegra: Support BPMP-FW ABI deny flags (2022-11-19 02:00:32 +0100)

Thanks,
Thierry

----------------------------------------------------------------
clk: tegra: Changes for v6.2-rc1

Implements new ABI flags for certain clocks for which the parent rate
or clock state cannot be changed.

----------------------------------------------------------------
Peter De Schrijver (2):
      firmware: tegra: Update BPMP ABI
      clk: tegra: Support BPMP-FW ABI deny flags

Thierry Reding (4):
      firmware: tegra: bpmp: Prefer u32 over uint32_t
      firmware: tegra: bpmp: Use iosys-map helpers
      firmware: tegra: bpmp: Do not support big-endian
      Merge branch 'for-6.2/firmware' into for-6.2/clk

 drivers/clk/tegra/clk-bpmp.c               |   37 +-
 drivers/firmware/tegra/bpmp-debugfs.c      |   62 +-
 drivers/firmware/tegra/bpmp-tegra186.c     |   36 +-
 drivers/firmware/tegra/bpmp-tegra210.c     |    7 +-
 drivers/firmware/tegra/bpmp.c              |   33 +-
 drivers/firmware/tegra/ivc.c               |  150 ++-
 drivers/thermal/tegra/tegra-bpmp-thermal.c |   15 +-
 include/soc/tegra/bpmp-abi.h               | 1796 +++++++++++++++++++++-------
 include/soc/tegra/bpmp.h                   |   17 +-
 include/soc/tegra/ivc.h                    |   11 +-
 10 files changed, 1577 insertions(+), 587 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 4/7] dt-bindings: Changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
@ 2022-11-21 17:12   ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-dt-bindings-v2

for you to fetch changes up to 97351cd8bea8e284cf62b4b7f35fa12059b47d7f:

  dt-bindings: usb: tegra-xusb: Convert to json-schema (2022-11-21 13:27:30 +0100)

Thanks,
Thierry

----------------------------------------------------------------
dt-bindings: Changes for v6.2-rc1

New memory client IDs and IOMMU stream IDs, as well as new compatible
strings are introduced to support more hardware on Tegra234. Some device
tree bindings are converted to json-schema to allow formal validation.

----------------------------------------------------------------
Jon Hunter (1):
      dt-bindings: tegra: Update headers for Tegra234

Mikko Perttunen (2):
      dt-bindings: Add headers for NVDEC on Tegra234
      dt-bindings: Add bindings for Tegra234 NVDEC

Sandipan Patra (1):
      dt-bindings: pwm: tegra: Document Tegra234 PWM

Thierry Reding (4):
      dt-bindings: pinctrl: tegra: Convert to json-schema
      dt-bindings: pinctrl: tegra194: Separate instances
      dt-bindings: pwm: tegra: Convert to json-schema
      dt-bindings: usb: tegra-xusb: Convert to json-schema

Vidya Sagar (1):
      dt-bindings: PCI: tegra234: Add ECAM support

 .../bindings/clock/nvidia,tegra124-dfll.txt        |   2 +-
 .../bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml | 156 +++++
 .../bindings/pci/nvidia,tegra194-pcie.yaml         |  34 +-
 .../devicetree/bindings/pci/snps,dw-pcie.yaml      |   2 +-
 .../pinctrl/nvidia,tegra-pinmux-common.yaml        | 178 ++++++
 .../bindings/pinctrl/nvidia,tegra114-pinmux.txt    | 131 -----
 .../bindings/pinctrl/nvidia,tegra114-pinmux.yaml   | 155 +++++
 .../bindings/pinctrl/nvidia,tegra124-pinmux.txt    | 153 -----
 .../bindings/pinctrl/nvidia,tegra124-pinmux.yaml   | 176 ++++++
 .../bindings/pinctrl/nvidia,tegra194-pinmux.txt    | 107 ----
 .../bindings/pinctrl/nvidia,tegra194-pinmux.yaml   | 284 +++++++++
 .../bindings/pinctrl/nvidia,tegra20-pinmux.txt     | 143 -----
 .../bindings/pinctrl/nvidia,tegra20-pinmux.yaml    | 112 ++++
 .../bindings/pinctrl/nvidia,tegra210-pinmux.txt    | 166 ------
 .../bindings/pinctrl/nvidia,tegra210-pinmux.yaml   | 142 +++++
 .../bindings/pinctrl/nvidia,tegra30-pinmux.txt     | 144 -----
 .../bindings/pinctrl/nvidia,tegra30-pinmux.yaml    | 176 ++++++
 .../devicetree/bindings/pwm/nvidia,tegra20-pwm.txt |  77 ---
 .../bindings/pwm/nvidia,tegra20-pwm.yaml           |  96 ++++
 .../bindings/usb/nvidia,tegra124-xusb.txt          | 132 -----
 .../bindings/usb/nvidia,tegra124-xusb.yaml         | 202 +++++++
 .../bindings/usb/nvidia,tegra186-xusb.yaml         | 173 ++++++
 .../bindings/usb/nvidia,tegra194-xusb.yaml         | 179 ++++++
 .../bindings/usb/nvidia,tegra210-xusb.yaml         | 199 +++++++
 include/dt-bindings/clock/tegra234-clock.h         | 639 ++++++++++++++++++++-
 include/dt-bindings/memory/tegra234-mc.h           | 440 +++++++++++++-
 include/dt-bindings/power/tegra234-powergate.h     |  15 +
 include/dt-bindings/reset/tegra234-reset.h         | 111 +++-
 28 files changed, 3437 insertions(+), 1087 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra-pinmux-common.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.yaml
 delete mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra124-xusb.txt
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra124-xusb.yaml
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra186-xusb.yaml
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra194-xusb.yaml
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra210-xusb.yaml

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 4/7] dt-bindings: Changes for v6.2-rc1
@ 2022-11-21 17:12   ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-dt-bindings-v2

for you to fetch changes up to 97351cd8bea8e284cf62b4b7f35fa12059b47d7f:

  dt-bindings: usb: tegra-xusb: Convert to json-schema (2022-11-21 13:27:30 +0100)

Thanks,
Thierry

----------------------------------------------------------------
dt-bindings: Changes for v6.2-rc1

New memory client IDs and IOMMU stream IDs, as well as new compatible
strings are introduced to support more hardware on Tegra234. Some device
tree bindings are converted to json-schema to allow formal validation.

----------------------------------------------------------------
Jon Hunter (1):
      dt-bindings: tegra: Update headers for Tegra234

Mikko Perttunen (2):
      dt-bindings: Add headers for NVDEC on Tegra234
      dt-bindings: Add bindings for Tegra234 NVDEC

Sandipan Patra (1):
      dt-bindings: pwm: tegra: Document Tegra234 PWM

Thierry Reding (4):
      dt-bindings: pinctrl: tegra: Convert to json-schema
      dt-bindings: pinctrl: tegra194: Separate instances
      dt-bindings: pwm: tegra: Convert to json-schema
      dt-bindings: usb: tegra-xusb: Convert to json-schema

Vidya Sagar (1):
      dt-bindings: PCI: tegra234: Add ECAM support

 .../bindings/clock/nvidia,tegra124-dfll.txt        |   2 +-
 .../bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml | 156 +++++
 .../bindings/pci/nvidia,tegra194-pcie.yaml         |  34 +-
 .../devicetree/bindings/pci/snps,dw-pcie.yaml      |   2 +-
 .../pinctrl/nvidia,tegra-pinmux-common.yaml        | 178 ++++++
 .../bindings/pinctrl/nvidia,tegra114-pinmux.txt    | 131 -----
 .../bindings/pinctrl/nvidia,tegra114-pinmux.yaml   | 155 +++++
 .../bindings/pinctrl/nvidia,tegra124-pinmux.txt    | 153 -----
 .../bindings/pinctrl/nvidia,tegra124-pinmux.yaml   | 176 ++++++
 .../bindings/pinctrl/nvidia,tegra194-pinmux.txt    | 107 ----
 .../bindings/pinctrl/nvidia,tegra194-pinmux.yaml   | 284 +++++++++
 .../bindings/pinctrl/nvidia,tegra20-pinmux.txt     | 143 -----
 .../bindings/pinctrl/nvidia,tegra20-pinmux.yaml    | 112 ++++
 .../bindings/pinctrl/nvidia,tegra210-pinmux.txt    | 166 ------
 .../bindings/pinctrl/nvidia,tegra210-pinmux.yaml   | 142 +++++
 .../bindings/pinctrl/nvidia,tegra30-pinmux.txt     | 144 -----
 .../bindings/pinctrl/nvidia,tegra30-pinmux.yaml    | 176 ++++++
 .../devicetree/bindings/pwm/nvidia,tegra20-pwm.txt |  77 ---
 .../bindings/pwm/nvidia,tegra20-pwm.yaml           |  96 ++++
 .../bindings/usb/nvidia,tegra124-xusb.txt          | 132 -----
 .../bindings/usb/nvidia,tegra124-xusb.yaml         | 202 +++++++
 .../bindings/usb/nvidia,tegra186-xusb.yaml         | 173 ++++++
 .../bindings/usb/nvidia,tegra194-xusb.yaml         | 179 ++++++
 .../bindings/usb/nvidia,tegra210-xusb.yaml         | 199 +++++++
 include/dt-bindings/clock/tegra234-clock.h         | 639 ++++++++++++++++++++-
 include/dt-bindings/memory/tegra234-mc.h           | 440 +++++++++++++-
 include/dt-bindings/power/tegra234-powergate.h     |  15 +
 include/dt-bindings/reset/tegra234-reset.h         | 111 +++-
 28 files changed, 3437 insertions(+), 1087 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra-pinmux-common.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.yaml
 delete mode 100644 Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.yaml
 delete mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra124-xusb.txt
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra124-xusb.yaml
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra186-xusb.yaml
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra194-xusb.yaml
 create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra210-xusb.yaml

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 5/7] memory: tegra: Changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
@ 2022-11-21 17:12   ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-memory-v2

for you to fetch changes up to 5cd24ca0985f2dfb5628354fb63ede67b1dd993d:

  memory: tegra: Add DLA clients for Tegra234 (2022-11-21 13:29:02 +0100)

Thanks,
Thierry

----------------------------------------------------------------
memory: tegra: Changes for v6.2-rc1

Some cleanups replace open-coded debugfs attributes and memory client
IDs are added for the DLA IP found on Tegra234 SoCs.

----------------------------------------------------------------
Jon Hunter (2):
      dt-bindings: tegra: Update headers for Tegra234
      memory: tegra: Add DLA clients for Tegra234

Liu Shixin (4):
      memory: tegra20-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code
      memory: tegra30-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code
      memory: tegra210-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code
      memory: tegra186-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code

Mikko Perttunen (1):
      dt-bindings: Add headers for NVDEC on Tegra234

Thierry Reding (1):
      Merge branch for-6.2/dt-bindings into for-6.2/memory

 drivers/memory/tegra/tegra186-emc.c            |  15 +-
 drivers/memory/tegra/tegra20-emc.c             |  15 +-
 drivers/memory/tegra/tegra210-emc-core.c       |  15 +-
 drivers/memory/tegra/tegra234.c                | 160 +++++++
 drivers/memory/tegra/tegra30-emc.c             |  15 +-
 include/dt-bindings/clock/tegra234-clock.h     | 639 ++++++++++++++++++++++++-
 include/dt-bindings/memory/tegra234-mc.h       | 440 ++++++++++++++++-
 include/dt-bindings/power/tegra234-powergate.h |  15 +
 include/dt-bindings/reset/tegra234-reset.h     | 111 ++++-
 9 files changed, 1339 insertions(+), 86 deletions(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 5/7] memory: tegra: Changes for v6.2-rc1
@ 2022-11-21 17:12   ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-memory-v2

for you to fetch changes up to 5cd24ca0985f2dfb5628354fb63ede67b1dd993d:

  memory: tegra: Add DLA clients for Tegra234 (2022-11-21 13:29:02 +0100)

Thanks,
Thierry

----------------------------------------------------------------
memory: tegra: Changes for v6.2-rc1

Some cleanups replace open-coded debugfs attributes and memory client
IDs are added for the DLA IP found on Tegra234 SoCs.

----------------------------------------------------------------
Jon Hunter (2):
      dt-bindings: tegra: Update headers for Tegra234
      memory: tegra: Add DLA clients for Tegra234

Liu Shixin (4):
      memory: tegra20-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code
      memory: tegra30-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code
      memory: tegra210-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code
      memory: tegra186-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code

Mikko Perttunen (1):
      dt-bindings: Add headers for NVDEC on Tegra234

Thierry Reding (1):
      Merge branch for-6.2/dt-bindings into for-6.2/memory

 drivers/memory/tegra/tegra186-emc.c            |  15 +-
 drivers/memory/tegra/tegra20-emc.c             |  15 +-
 drivers/memory/tegra/tegra210-emc-core.c       |  15 +-
 drivers/memory/tegra/tegra234.c                | 160 +++++++
 drivers/memory/tegra/tegra30-emc.c             |  15 +-
 include/dt-bindings/clock/tegra234-clock.h     | 639 ++++++++++++++++++++++++-
 include/dt-bindings/memory/tegra234-mc.h       | 440 ++++++++++++++++-
 include/dt-bindings/power/tegra234-powergate.h |  15 +
 include/dt-bindings/reset/tegra234-reset.h     | 111 ++++-
 9 files changed, 1339 insertions(+), 86 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 6/7] ARM: tegra: Device tree changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
@ 2022-11-21 17:12   ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-arm-dt-v2

for you to fetch changes up to e4185804e191bdaeb10ebe00b1b4aa9e2f147a56:

  ARM: tegra: Remove duplicate pin entry in pinmux (2022-11-18 00:22:02 +0100)

Thanks,
Thierry

----------------------------------------------------------------
ARM: tegra: Device tree changes for v6.2-rc1

This fixes various minor issues in device trees that are flagged by the
DT validation tools.

----------------------------------------------------------------
Thierry Reding (6):
      ARM: tegra: Use correct compatible string for ASUS TF101 panel
      ARM: tegra: Fixup pinmux node names
      ARM: tegra: Add missing power-supply for panels
      ARM: tegra: Fix nvidia,io-reset properties
      ARM: tegra: Remove unused interrupt-parent properties
      ARM: tegra: Remove duplicate pin entry in pinmux

 arch/arm/boot/dts/tegra114-asus-tf701t.dts         | 24 +++++++++++-----------
 arch/arm/boot/dts/tegra124-nyan-big.dts            |  3 ++-
 arch/arm/boot/dts/tegra124-nyan-blaze.dts          |  3 ++-
 arch/arm/boot/dts/tegra124-venice2.dts             |  3 ++-
 arch/arm/boot/dts/tegra20-acer-a500-picasso.dts    |  6 +++---
 arch/arm/boot/dts/tegra20-asus-tf101.dts           |  8 ++++----
 arch/arm/boot/dts/tegra20-seaboard.dts             |  6 +++---
 arch/arm/boot/dts/tegra20-tamonten.dtsi            |  6 +++---
 arch/arm/boot/dts/tegra20-ventana.dts              |  6 +++---
 .../boot/dts/tegra30-asus-transformer-common.dtsi  | 10 ++++-----
 arch/arm/boot/dts/tegra30-pegatron-chagall.dts     | 11 ++++------
 11 files changed, 42 insertions(+), 44 deletions(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 6/7] ARM: tegra: Device tree changes for v6.2-rc1
@ 2022-11-21 17:12   ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-arm-dt-v2

for you to fetch changes up to e4185804e191bdaeb10ebe00b1b4aa9e2f147a56:

  ARM: tegra: Remove duplicate pin entry in pinmux (2022-11-18 00:22:02 +0100)

Thanks,
Thierry

----------------------------------------------------------------
ARM: tegra: Device tree changes for v6.2-rc1

This fixes various minor issues in device trees that are flagged by the
DT validation tools.

----------------------------------------------------------------
Thierry Reding (6):
      ARM: tegra: Use correct compatible string for ASUS TF101 panel
      ARM: tegra: Fixup pinmux node names
      ARM: tegra: Add missing power-supply for panels
      ARM: tegra: Fix nvidia,io-reset properties
      ARM: tegra: Remove unused interrupt-parent properties
      ARM: tegra: Remove duplicate pin entry in pinmux

 arch/arm/boot/dts/tegra114-asus-tf701t.dts         | 24 +++++++++++-----------
 arch/arm/boot/dts/tegra124-nyan-big.dts            |  3 ++-
 arch/arm/boot/dts/tegra124-nyan-blaze.dts          |  3 ++-
 arch/arm/boot/dts/tegra124-venice2.dts             |  3 ++-
 arch/arm/boot/dts/tegra20-acer-a500-picasso.dts    |  6 +++---
 arch/arm/boot/dts/tegra20-asus-tf101.dts           |  8 ++++----
 arch/arm/boot/dts/tegra20-seaboard.dts             |  6 +++---
 arch/arm/boot/dts/tegra20-tamonten.dtsi            |  6 +++---
 arch/arm/boot/dts/tegra20-ventana.dts              |  6 +++---
 .../boot/dts/tegra30-asus-transformer-common.dtsi  | 10 ++++-----
 arch/arm/boot/dts/tegra30-pegatron-chagall.dts     | 11 ++++------
 11 files changed, 42 insertions(+), 44 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 7/7] arm64: tegra: Device tree changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
@ 2022-11-21 17:12   ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-arm64-dt-v2

for you to fetch changes up to 1002a361127b6b42b8d1ef686a4c1fa68541d6f5:

  arm64: tegra: Remove unneeded clock-names for Tegra132 PWM (2022-11-21 13:30:16 +0100)

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Device tree changes for v6.2-rc1

This contains many new additions, primarily for Tegra234, as well as a
slew of cleanups for issues flagged by the DT validation tools.

----------------------------------------------------------------
Akhil R (1):
      arm64: tegra: Add dma-channel-mask in GPCDMA node

Dipen Patel (1):
      arm64: tegra: Enable GTE nodes

Fabio Estevam (1):
      arm64: tegra: Remove 'enable-active-low'

Jon Hunter (6):
      dt-bindings: tegra: Update headers for Tegra234
      arm64: tegra: Remove unused property for I2C
      arm64: tegra: Populate Tegra234 PWMs
      arm64: tegra: Add PWM fan for Jetson AGX Orin
      arm64: tegra: Add SBSA UART for Tegra234
      arm64: tegra: Update console for Jetson Xavier and Orin

Mikko Perttunen (3):
      dt-bindings: Add headers for NVDEC on Tegra234
      arm64: tegra: Fix ranges for host1x nodes
      arm64: tegra: Add NVDEC on Tegra234

Pierre Gondois (1):
      arm64: tegra: Update cache properties

Prathamesh Shete (1):
      arm64: tegra: Add Tegra234 SDMMC1 device tree node

Sandipan Patra (1):
      arm64: tegra: Enable PWM users on Jetson AGX Orin

Thierry Reding (15):
      Merge branch for-6.2/dt-bindings into for-6.2/arm64/dt
      arm64: tegra: Sort nodes by unit-address
      arm64: tegra: Add missing whitespace
      arm64: tegra: Remove clock-names from PWM nodes
      arm64: tegra: Separate AON pinmux from main pinmux on Tegra194
      arm64: tegra: Add missing compatible string to Ethernet USB device
      arm64: tegra: Restructure Tegra210 PMC pinmux nodes
      arm64: tegra: Use vbus-gpios property
      arm64: tegra: Use correct compatible string for Tegra194 HDA
      arm64: tegra: Use correct compatible string for Tegra234 HDA
      arm64: tegra: Remove reset-names for QSPI
      arm64: tegra: Fixup pinmux node names
      arm64: tegra: Remove unused reset-names for QSPI
      arm64: tegra: Fix up compatible string for SDMMC1 on Tegra234
      arm64: tegra: Remove unneeded clock-names for Tegra132 PWM

Vidya Sagar (3):
      arm64: tegra: Fix Prefetchable aperture ranges of Tegra234 PCIe controllers
      arm64: tegra: Add ECAM aperture info for all the PCIe controllers
      arm64: tegra: Fix non-prefetchable aperture of PCIe C3 controller

 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts     |   2 +-
 arch/arm64/boot/dts/nvidia/tegra132.dtsi           |   1 -
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           |  12 +-
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi     |   2 +-
 .../arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi |   4 +-
 arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi     |   2 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi           |  70 ++-
 arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi     |   5 +-
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts |   4 +-
 arch/arm64/boot/dts/nvidia/tegra210.dtsi           |  61 +-
 .../arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi |   8 +-
 .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts  |  21 +-
 .../arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi |  14 +
 arch/arm64/boot/dts/nvidia/tegra234.dtsi           | 666 ++++++++++++++-------
 include/dt-bindings/clock/tegra234-clock.h         | 639 +++++++++++++++++++-
 include/dt-bindings/memory/tegra234-mc.h           | 440 +++++++++++++-
 include/dt-bindings/power/tegra234-powergate.h     |  15 +
 include/dt-bindings/reset/tegra234-reset.h         | 111 +++-
 18 files changed, 1751 insertions(+), 326 deletions(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [GIT PULL v2 7/7] arm64: tegra: Device tree changes for v6.2-rc1
@ 2022-11-21 17:12   ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-21 17:12 UTC (permalink / raw)
  To: arm, soc; +Cc: Thierry Reding, Jon Hunter, linux-tegra, linux-arm-kernel

Hi ARM SoC maintainers,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-arm64-dt-v2

for you to fetch changes up to 1002a361127b6b42b8d1ef686a4c1fa68541d6f5:

  arm64: tegra: Remove unneeded clock-names for Tegra132 PWM (2022-11-21 13:30:16 +0100)

Thanks,
Thierry

----------------------------------------------------------------
arm64: tegra: Device tree changes for v6.2-rc1

This contains many new additions, primarily for Tegra234, as well as a
slew of cleanups for issues flagged by the DT validation tools.

----------------------------------------------------------------
Akhil R (1):
      arm64: tegra: Add dma-channel-mask in GPCDMA node

Dipen Patel (1):
      arm64: tegra: Enable GTE nodes

Fabio Estevam (1):
      arm64: tegra: Remove 'enable-active-low'

Jon Hunter (6):
      dt-bindings: tegra: Update headers for Tegra234
      arm64: tegra: Remove unused property for I2C
      arm64: tegra: Populate Tegra234 PWMs
      arm64: tegra: Add PWM fan for Jetson AGX Orin
      arm64: tegra: Add SBSA UART for Tegra234
      arm64: tegra: Update console for Jetson Xavier and Orin

Mikko Perttunen (3):
      dt-bindings: Add headers for NVDEC on Tegra234
      arm64: tegra: Fix ranges for host1x nodes
      arm64: tegra: Add NVDEC on Tegra234

Pierre Gondois (1):
      arm64: tegra: Update cache properties

Prathamesh Shete (1):
      arm64: tegra: Add Tegra234 SDMMC1 device tree node

Sandipan Patra (1):
      arm64: tegra: Enable PWM users on Jetson AGX Orin

Thierry Reding (15):
      Merge branch for-6.2/dt-bindings into for-6.2/arm64/dt
      arm64: tegra: Sort nodes by unit-address
      arm64: tegra: Add missing whitespace
      arm64: tegra: Remove clock-names from PWM nodes
      arm64: tegra: Separate AON pinmux from main pinmux on Tegra194
      arm64: tegra: Add missing compatible string to Ethernet USB device
      arm64: tegra: Restructure Tegra210 PMC pinmux nodes
      arm64: tegra: Use vbus-gpios property
      arm64: tegra: Use correct compatible string for Tegra194 HDA
      arm64: tegra: Use correct compatible string for Tegra234 HDA
      arm64: tegra: Remove reset-names for QSPI
      arm64: tegra: Fixup pinmux node names
      arm64: tegra: Remove unused reset-names for QSPI
      arm64: tegra: Fix up compatible string for SDMMC1 on Tegra234
      arm64: tegra: Remove unneeded clock-names for Tegra132 PWM

Vidya Sagar (3):
      arm64: tegra: Fix Prefetchable aperture ranges of Tegra234 PCIe controllers
      arm64: tegra: Add ECAM aperture info for all the PCIe controllers
      arm64: tegra: Fix non-prefetchable aperture of PCIe C3 controller

 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts     |   2 +-
 arch/arm64/boot/dts/nvidia/tegra132.dtsi           |   1 -
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           |  12 +-
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi     |   2 +-
 .../arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi |   4 +-
 arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi     |   2 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi           |  70 ++-
 arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi     |   5 +-
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts |   4 +-
 arch/arm64/boot/dts/nvidia/tegra210.dtsi           |  61 +-
 .../arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi |   8 +-
 .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts  |  21 +-
 .../arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi |  14 +
 arch/arm64/boot/dts/nvidia/tegra234.dtsi           | 666 ++++++++++++++-------
 include/dt-bindings/clock/tegra234-clock.h         | 639 +++++++++++++++++++-
 include/dt-bindings/memory/tegra234-mc.h           | 440 +++++++++++++-
 include/dt-bindings/power/tegra234-powergate.h     |  15 +
 include/dt-bindings/reset/tegra234-reset.h         | 111 +++-
 18 files changed, 1751 insertions(+), 326 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
  2022-11-21 17:12   ` Thierry Reding
@ 2022-11-22 21:25     ` Arnd Bergmann
  -1 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2022-11-22 21:25 UTC (permalink / raw)
  To: Thierry Reding, arm, soc; +Cc: Jon Hunter, linux-tegra, linux-arm-kernel

On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
>       firmware: tegra: bpmp: Do not support big-endian

I pulled the branch, but I think this patch is inconsistent with
our normal approach: Since all ARMv7 and ARMv8 processors can
run with both big-endian and little-endian kernels, we normally
try to keep drivers portable between both ways, even though we
don't expect anyone to actually want a big-endian kernel any
more. Changing portable code to nonportable code doesn't seem
helpful here.

On the other hand, there are already examples of important
drivers that are fundamentally incompatible with big-endian
mode, notably drivers/efi/, which is required on a lot of
machines.

You don't have to revert this patch, but it would be helpful
to mark code that is explicitly unportable with a 'depends
on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
add that.

Do you know of other tegra drivers that only work on
little-endian?

      Arnd

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
@ 2022-11-22 21:25     ` Arnd Bergmann
  0 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2022-11-22 21:25 UTC (permalink / raw)
  To: Thierry Reding, arm, soc; +Cc: Jon Hunter, linux-tegra, linux-arm-kernel

On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
>       firmware: tegra: bpmp: Do not support big-endian

I pulled the branch, but I think this patch is inconsistent with
our normal approach: Since all ARMv7 and ARMv8 processors can
run with both big-endian and little-endian kernels, we normally
try to keep drivers portable between both ways, even though we
don't expect anyone to actually want a big-endian kernel any
more. Changing portable code to nonportable code doesn't seem
helpful here.

On the other hand, there are already examples of important
drivers that are fundamentally incompatible with big-endian
mode, notably drivers/efi/, which is required on a lot of
machines.

You don't have to revert this patch, but it would be helpful
to mark code that is explicitly unportable with a 'depends
on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
add that.

Do you know of other tegra drivers that only work on
little-endian?

      Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 7/7] arm64: tegra: Device tree changes for v6.2-rc1
  2022-11-21 17:12   ` Thierry Reding
@ 2022-11-22 22:09     ` Arnd Bergmann
  -1 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2022-11-22 22:09 UTC (permalink / raw)
  To: Thierry Reding, arm, soc; +Cc: Jon Hunter, linux-tegra, linux-arm-kernel

On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
>
> Jon Hunter (6):
>       arm64: tegra: Update console for Jetson Xavier and Orin

While this change is clearly correct, I think it would be even
better to completely drop the chosen/bootargs property completely
here. The bootargs are meant to come from the bootloader anyway,
and the console= argument is already implicitly set through the
chosen/stdout-path property.

      Arnd

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 7/7] arm64: tegra: Device tree changes for v6.2-rc1
@ 2022-11-22 22:09     ` Arnd Bergmann
  0 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2022-11-22 22:09 UTC (permalink / raw)
  To: Thierry Reding, arm, soc; +Cc: Jon Hunter, linux-tegra, linux-arm-kernel

On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
>
> Jon Hunter (6):
>       arm64: tegra: Update console for Jetson Xavier and Orin

While this change is clearly correct, I think it would be even
better to completely drop the chosen/bootargs property completely
here. The bootargs are meant to come from the bootloader anyway,
and the console= argument is already implicitly set through the
chosen/stdout-path property.

      Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 1/7] soc/tegra: Changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
                   ` (6 preceding siblings ...)
  (?)
@ 2022-11-22 22:20 ` patchwork-bot+linux-soc
  -1 siblings, 0 replies; 30+ messages in thread
From: patchwork-bot+linux-soc @ 2022-11-22 22:20 UTC (permalink / raw)
  To: Thierry Reding; +Cc: soc

Hello:

This pull request was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Mon, 21 Nov 2022 18:12:33 +0100 you wrote:
> Hi ARM SoC maintainers,
> 
> The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:
> 
>   Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)
> 
> are available in the Git repository at:
> 
> [...]

Here is the summary with links:
  - [GIT,PULL,v2,1/7] soc/tegra: Changes for v6.2-rc1
    https://git.kernel.org/soc/soc/c/2a26daeeb851
  - [GIT,PULL,v2,2/7] firmware: tegra: Changes for v6.2-rc1
    https://git.kernel.org/soc/soc/c/a6eeafba1141
  - [GIT,PULL,v2,3/7] clk: tegra: Changes for v6.2-rc1
    https://git.kernel.org/soc/soc/c/381abc230be0
  - [GIT,PULL,v2,4/7] dt-bindings: Changes for v6.2-rc1
    https://git.kernel.org/soc/soc/c/83cbe78a9cdf
  - [GIT,PULL,v2,5/7] memory: tegra: Changes for v6.2-rc1
    https://git.kernel.org/soc/soc/c/19e54b0547ac
  - [GIT,PULL,v2,6/7] ARM: tegra: Device tree changes for v6.2-rc1
    (no matching commit)
  - [GIT,PULL,v2,7/7] arm64: tegra: Device tree changes for v6.2-rc1
    https://git.kernel.org/soc/soc/c/029467886185

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
  2022-11-22 21:25     ` Arnd Bergmann
@ 2022-11-23 11:33       ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-23 11:33 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 1944 bytes --]

On Tue, Nov 22, 2022 at 10:25:50PM +0100, Arnd Bergmann wrote:
> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
> >       firmware: tegra: bpmp: Do not support big-endian
> 
> I pulled the branch, but I think this patch is inconsistent with
> our normal approach: Since all ARMv7 and ARMv8 processors can
> run with both big-endian and little-endian kernels, we normally
> try to keep drivers portable between both ways, even though we
> don't expect anyone to actually want a big-endian kernel any
> more. Changing portable code to nonportable code doesn't seem
> helpful here.

The only reason I dropped this is because the driver is in itself
inconsistent. Parts of it use byte-swapping for 32-bit values and other
parts don't. I was originally going to fix big-endian support but it
would've required changes to the BPMP ABI header to avoid sparse
warnings in lots of places, then these ABI changes would've needed to
trickle up to the canonical source, etc. All of that didn't seem worth
the effort if we couldn't even test this in any way. So the easiest fix
was to stop pretending and drop the partial support.

> On the other hand, there are already examples of important
> drivers that are fundamentally incompatible with big-endian
> mode, notably drivers/efi/, which is required on a lot of
> machines.
> 
> You don't have to revert this patch, but it would be helpful
> to mark code that is explicitly unportable with a 'depends
> on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
> add that.

Yes, feel free to add that.

> Do you know of other tegra drivers that only work on
> little-endian?

I'm not aware of any that explicitly wouldn't work with big endian, but
it's not something we've ever tested. I know that people have in the
past done experiments with running emulated Tegra on QEMU in big endian
mode, but it's probably not something that's very common.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
@ 2022-11-23 11:33       ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-23 11:33 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1944 bytes --]

On Tue, Nov 22, 2022 at 10:25:50PM +0100, Arnd Bergmann wrote:
> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
> >       firmware: tegra: bpmp: Do not support big-endian
> 
> I pulled the branch, but I think this patch is inconsistent with
> our normal approach: Since all ARMv7 and ARMv8 processors can
> run with both big-endian and little-endian kernels, we normally
> try to keep drivers portable between both ways, even though we
> don't expect anyone to actually want a big-endian kernel any
> more. Changing portable code to nonportable code doesn't seem
> helpful here.

The only reason I dropped this is because the driver is in itself
inconsistent. Parts of it use byte-swapping for 32-bit values and other
parts don't. I was originally going to fix big-endian support but it
would've required changes to the BPMP ABI header to avoid sparse
warnings in lots of places, then these ABI changes would've needed to
trickle up to the canonical source, etc. All of that didn't seem worth
the effort if we couldn't even test this in any way. So the easiest fix
was to stop pretending and drop the partial support.

> On the other hand, there are already examples of important
> drivers that are fundamentally incompatible with big-endian
> mode, notably drivers/efi/, which is required on a lot of
> machines.
> 
> You don't have to revert this patch, but it would be helpful
> to mark code that is explicitly unportable with a 'depends
> on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
> add that.

Yes, feel free to add that.

> Do you know of other tegra drivers that only work on
> little-endian?

I'm not aware of any that explicitly wouldn't work with big endian, but
it's not something we've ever tested. I know that people have in the
past done experiments with running emulated Tegra on QEMU in big endian
mode, but it's probably not something that's very common.

Thierry

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 7/7] arm64: tegra: Device tree changes for v6.2-rc1
  2022-11-22 22:09     ` Arnd Bergmann
@ 2022-11-23 11:36       ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-23 11:36 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

On Tue, Nov 22, 2022 at 11:09:43PM +0100, Arnd Bergmann wrote:
> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
> >
> > Jon Hunter (6):
> >       arm64: tegra: Update console for Jetson Xavier and Orin
> 
> While this change is clearly correct, I think it would be even
> better to completely drop the chosen/bootargs property completely
> here. The bootargs are meant to come from the bootloader anyway,
> and the console= argument is already implicitly set through the
> chosen/stdout-path property.

This is more of a safety net we've used in the past to make sure we can
run even if the bootloader doesn't add these. I also know that Jon was
running into some issues if these were not specified.

Jon, can we add a TODO item that we go over some of these and verify
which ones we need and which ones we don't. If we need them it might be
worth looking into why that is and if there isn't a better way to fix
this.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 7/7] arm64: tegra: Device tree changes for v6.2-rc1
@ 2022-11-23 11:36       ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-23 11:36 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 956 bytes --]

On Tue, Nov 22, 2022 at 11:09:43PM +0100, Arnd Bergmann wrote:
> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
> >
> > Jon Hunter (6):
> >       arm64: tegra: Update console for Jetson Xavier and Orin
> 
> While this change is clearly correct, I think it would be even
> better to completely drop the chosen/bootargs property completely
> here. The bootargs are meant to come from the bootloader anyway,
> and the console= argument is already implicitly set through the
> chosen/stdout-path property.

This is more of a safety net we've used in the past to make sure we can
run even if the bootloader doesn't add these. I also know that Jon was
running into some issues if these were not specified.

Jon, can we add a TODO item that we go over some of these and verify
which ones we need and which ones we don't. If we need them it might be
worth looking into why that is and if there isn't a better way to fix
this.

Thierry

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 1/7] soc/tegra: Changes for v6.2-rc1
  2022-11-21 17:12 ` Thierry Reding
                   ` (7 preceding siblings ...)
  (?)
@ 2022-11-23 12:00 ` patchwork-bot+linux-soc
  -1 siblings, 0 replies; 30+ messages in thread
From: patchwork-bot+linux-soc @ 2022-11-23 12:00 UTC (permalink / raw)
  To: Thierry Reding; +Cc: soc

Hello:

This pull request was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Mon, 21 Nov 2022 18:12:33 +0100 you wrote:
> Hi ARM SoC maintainers,
> 
> The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:
> 
>   Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)
> 
> are available in the Git repository at:
> 
> [...]

Here is the summary with links:
  - [GIT,PULL,v2,1/7] soc/tegra: Changes for v6.2-rc1
    (no matching commit)
  - [GIT,PULL,v2,2/7] firmware: tegra: Changes for v6.2-rc1
    (no matching commit)
  - [GIT,PULL,v2,3/7] clk: tegra: Changes for v6.2-rc1
    (no matching commit)
  - [GIT,PULL,v2,4/7] dt-bindings: Changes for v6.2-rc1
    (no matching commit)
  - [GIT,PULL,v2,5/7] memory: tegra: Changes for v6.2-rc1
    (no matching commit)
  - [GIT,PULL,v2,6/7] ARM: tegra: Device tree changes for v6.2-rc1
    https://git.kernel.org/soc/soc/c/714aac5dcd3a
  - [GIT,PULL,v2,7/7] arm64: tegra: Device tree changes for v6.2-rc1
    (no matching commit)

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
  2022-11-23 11:33       ` Thierry Reding
@ 2022-11-23 13:23         ` Arnd Bergmann
  -1 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2022-11-23 13:23 UTC (permalink / raw)
  To: Thierry Reding; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel

On Wed, Nov 23, 2022, at 12:33, Thierry Reding wrote:
> On Tue, Nov 22, 2022 at 10:25:50PM +0100, Arnd Bergmann wrote:
>> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
>> >       firmware: tegra: bpmp: Do not support big-endian
>> 
>> I pulled the branch, but I think this patch is inconsistent with
>> our normal approach: Since all ARMv7 and ARMv8 processors can
>> run with both big-endian and little-endian kernels, we normally
>> try to keep drivers portable between both ways, even though we
>> don't expect anyone to actually want a big-endian kernel any
>> more. Changing portable code to nonportable code doesn't seem
>> helpful here.
>
> The only reason I dropped this is because the driver is in itself
> inconsistent. Parts of it use byte-swapping for 32-bit values and other
> parts don't. I was originally going to fix big-endian support but it
> would've required changes to the BPMP ABI header to avoid sparse
> warnings in lots of places, then these ABI changes would've needed to
> trickle up to the canonical source, etc. All of that didn't seem worth
> the effort if we couldn't even test this in any way. So the easiest fix
> was to stop pretending and drop the partial support.

Right

>> On the other hand, there are already examples of important
>> drivers that are fundamentally incompatible with big-endian
>> mode, notably drivers/efi/, which is required on a lot of
>> machines.
>> 
>> You don't have to revert this patch, but it would be helpful
>> to mark code that is explicitly unportable with a 'depends
>> on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
>> add that.
>
> Yes, feel free to add that.

Added this commit to the soc/drivers branch now:

commit 4ddb1bf1a83783cebdb174b0efaf62f63ad64e0b
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Wed Nov 23 14:21:16 2022 +0100

    tegra: mark BPMP driver as little-endian only
    
    The BPMP firmware driver never worked on big-endian kernels, and
    cannot easily be made portable. Add a dependency to make this clear
    in case anyone ever wants to try a big-endian kernel on this hardware.
    
    Link: https://lore.kernel.org/linux-arm-kernel/Y34FCQ3xTmcjqKRT@orome/
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/drivers/firmware/tegra/Kconfig b/drivers/firmware/tegra/Kconfig
index 1c8ba1f47c7c..cde1ab8bd9d1 100644
--- a/drivers/firmware/tegra/Kconfig
+++ b/drivers/firmware/tegra/Kconfig
@@ -14,6 +14,7 @@ config TEGRA_IVC
 config TEGRA_BPMP
 	bool "Tegra BPMP driver"
 	depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC
+	depends on !CPU_BIG_ENDIAN
 	help
 	  BPMP (Boot and Power Management Processor) is designed to off-loading
 	  the PM functions which include clock/DVFS/thermal/power from the CPU.



>> Do you know of other tegra drivers that only work on
>> little-endian?
>
> I'm not aware of any that explicitly wouldn't work with big endian, but
> it's not something we've ever tested. I know that people have in the
> past done experiments with running emulated Tegra on QEMU in big endian
> mode, but it's probably not something that's very common.

Ok, thanks!

     Arnd

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
@ 2022-11-23 13:23         ` Arnd Bergmann
  0 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2022-11-23 13:23 UTC (permalink / raw)
  To: Thierry Reding; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel

On Wed, Nov 23, 2022, at 12:33, Thierry Reding wrote:
> On Tue, Nov 22, 2022 at 10:25:50PM +0100, Arnd Bergmann wrote:
>> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
>> >       firmware: tegra: bpmp: Do not support big-endian
>> 
>> I pulled the branch, but I think this patch is inconsistent with
>> our normal approach: Since all ARMv7 and ARMv8 processors can
>> run with both big-endian and little-endian kernels, we normally
>> try to keep drivers portable between both ways, even though we
>> don't expect anyone to actually want a big-endian kernel any
>> more. Changing portable code to nonportable code doesn't seem
>> helpful here.
>
> The only reason I dropped this is because the driver is in itself
> inconsistent. Parts of it use byte-swapping for 32-bit values and other
> parts don't. I was originally going to fix big-endian support but it
> would've required changes to the BPMP ABI header to avoid sparse
> warnings in lots of places, then these ABI changes would've needed to
> trickle up to the canonical source, etc. All of that didn't seem worth
> the effort if we couldn't even test this in any way. So the easiest fix
> was to stop pretending and drop the partial support.

Right

>> On the other hand, there are already examples of important
>> drivers that are fundamentally incompatible with big-endian
>> mode, notably drivers/efi/, which is required on a lot of
>> machines.
>> 
>> You don't have to revert this patch, but it would be helpful
>> to mark code that is explicitly unportable with a 'depends
>> on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
>> add that.
>
> Yes, feel free to add that.

Added this commit to the soc/drivers branch now:

commit 4ddb1bf1a83783cebdb174b0efaf62f63ad64e0b
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Wed Nov 23 14:21:16 2022 +0100

    tegra: mark BPMP driver as little-endian only
    
    The BPMP firmware driver never worked on big-endian kernels, and
    cannot easily be made portable. Add a dependency to make this clear
    in case anyone ever wants to try a big-endian kernel on this hardware.
    
    Link: https://lore.kernel.org/linux-arm-kernel/Y34FCQ3xTmcjqKRT@orome/
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/drivers/firmware/tegra/Kconfig b/drivers/firmware/tegra/Kconfig
index 1c8ba1f47c7c..cde1ab8bd9d1 100644
--- a/drivers/firmware/tegra/Kconfig
+++ b/drivers/firmware/tegra/Kconfig
@@ -14,6 +14,7 @@ config TEGRA_IVC
 config TEGRA_BPMP
 	bool "Tegra BPMP driver"
 	depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC
+	depends on !CPU_BIG_ENDIAN
 	help
 	  BPMP (Boot and Power Management Processor) is designed to off-loading
 	  the PM functions which include clock/DVFS/thermal/power from the CPU.



>> Do you know of other tegra drivers that only work on
>> little-endian?
>
> I'm not aware of any that explicitly wouldn't work with big endian, but
> it's not something we've ever tested. I know that people have in the
> past done experiments with running emulated Tegra on QEMU in big endian
> mode, but it's probably not something that's very common.

Ok, thanks!

     Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
  2022-11-23 13:23         ` Arnd Bergmann
@ 2022-11-25 10:12           ` Thierry Reding
  -1 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-25 10:12 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 3027 bytes --]

On Wed, Nov 23, 2022 at 02:23:36PM +0100, Arnd Bergmann wrote:
> On Wed, Nov 23, 2022, at 12:33, Thierry Reding wrote:
> > On Tue, Nov 22, 2022 at 10:25:50PM +0100, Arnd Bergmann wrote:
> >> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
> >> >       firmware: tegra: bpmp: Do not support big-endian
> >> 
> >> I pulled the branch, but I think this patch is inconsistent with
> >> our normal approach: Since all ARMv7 and ARMv8 processors can
> >> run with both big-endian and little-endian kernels, we normally
> >> try to keep drivers portable between both ways, even though we
> >> don't expect anyone to actually want a big-endian kernel any
> >> more. Changing portable code to nonportable code doesn't seem
> >> helpful here.
> >
> > The only reason I dropped this is because the driver is in itself
> > inconsistent. Parts of it use byte-swapping for 32-bit values and other
> > parts don't. I was originally going to fix big-endian support but it
> > would've required changes to the BPMP ABI header to avoid sparse
> > warnings in lots of places, then these ABI changes would've needed to
> > trickle up to the canonical source, etc. All of that didn't seem worth
> > the effort if we couldn't even test this in any way. So the easiest fix
> > was to stop pretending and drop the partial support.
> 
> Right
> 
> >> On the other hand, there are already examples of important
> >> drivers that are fundamentally incompatible with big-endian
> >> mode, notably drivers/efi/, which is required on a lot of
> >> machines.
> >> 
> >> You don't have to revert this patch, but it would be helpful
> >> to mark code that is explicitly unportable with a 'depends
> >> on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
> >> add that.
> >
> > Yes, feel free to add that.
> 
> Added this commit to the soc/drivers branch now:
> 
> commit 4ddb1bf1a83783cebdb174b0efaf62f63ad64e0b
> Author: Arnd Bergmann <arnd@arndb.de>
> Date:   Wed Nov 23 14:21:16 2022 +0100
> 
>     tegra: mark BPMP driver as little-endian only
>     
>     The BPMP firmware driver never worked on big-endian kernels, and
>     cannot easily be made portable. Add a dependency to make this clear
>     in case anyone ever wants to try a big-endian kernel on this hardware.
>     
>     Link: https://lore.kernel.org/linux-arm-kernel/Y34FCQ3xTmcjqKRT@orome/
>     Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> diff --git a/drivers/firmware/tegra/Kconfig b/drivers/firmware/tegra/Kconfig
> index 1c8ba1f47c7c..cde1ab8bd9d1 100644
> --- a/drivers/firmware/tegra/Kconfig
> +++ b/drivers/firmware/tegra/Kconfig
> @@ -14,6 +14,7 @@ config TEGRA_IVC
>  config TEGRA_BPMP
>  	bool "Tegra BPMP driver"
>  	depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC
> +	depends on !CPU_BIG_ENDIAN
>  	help
>  	  BPMP (Boot and Power Management Processor) is designed to off-loading
>  	  the PM functions which include clock/DVFS/thermal/power from the CPU.

Sounds good, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1
@ 2022-11-25 10:12           ` Thierry Reding
  0 siblings, 0 replies; 30+ messages in thread
From: Thierry Reding @ 2022-11-25 10:12 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 3027 bytes --]

On Wed, Nov 23, 2022 at 02:23:36PM +0100, Arnd Bergmann wrote:
> On Wed, Nov 23, 2022, at 12:33, Thierry Reding wrote:
> > On Tue, Nov 22, 2022 at 10:25:50PM +0100, Arnd Bergmann wrote:
> >> On Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote:
> >> >       firmware: tegra: bpmp: Do not support big-endian
> >> 
> >> I pulled the branch, but I think this patch is inconsistent with
> >> our normal approach: Since all ARMv7 and ARMv8 processors can
> >> run with both big-endian and little-endian kernels, we normally
> >> try to keep drivers portable between both ways, even though we
> >> don't expect anyone to actually want a big-endian kernel any
> >> more. Changing portable code to nonportable code doesn't seem
> >> helpful here.
> >
> > The only reason I dropped this is because the driver is in itself
> > inconsistent. Parts of it use byte-swapping for 32-bit values and other
> > parts don't. I was originally going to fix big-endian support but it
> > would've required changes to the BPMP ABI header to avoid sparse
> > warnings in lots of places, then these ABI changes would've needed to
> > trickle up to the canonical source, etc. All of that didn't seem worth
> > the effort if we couldn't even test this in any way. So the easiest fix
> > was to stop pretending and drop the partial support.
> 
> Right
> 
> >> On the other hand, there are already examples of important
> >> drivers that are fundamentally incompatible with big-endian
> >> mode, notably drivers/efi/, which is required on a lot of
> >> machines.
> >> 
> >> You don't have to revert this patch, but it would be helpful
> >> to mark code that is explicitly unportable with a 'depends
> >> on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can
> >> add that.
> >
> > Yes, feel free to add that.
> 
> Added this commit to the soc/drivers branch now:
> 
> commit 4ddb1bf1a83783cebdb174b0efaf62f63ad64e0b
> Author: Arnd Bergmann <arnd@arndb.de>
> Date:   Wed Nov 23 14:21:16 2022 +0100
> 
>     tegra: mark BPMP driver as little-endian only
>     
>     The BPMP firmware driver never worked on big-endian kernels, and
>     cannot easily be made portable. Add a dependency to make this clear
>     in case anyone ever wants to try a big-endian kernel on this hardware.
>     
>     Link: https://lore.kernel.org/linux-arm-kernel/Y34FCQ3xTmcjqKRT@orome/
>     Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> diff --git a/drivers/firmware/tegra/Kconfig b/drivers/firmware/tegra/Kconfig
> index 1c8ba1f47c7c..cde1ab8bd9d1 100644
> --- a/drivers/firmware/tegra/Kconfig
> +++ b/drivers/firmware/tegra/Kconfig
> @@ -14,6 +14,7 @@ config TEGRA_IVC
>  config TEGRA_BPMP
>  	bool "Tegra BPMP driver"
>  	depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC
> +	depends on !CPU_BIG_ENDIAN
>  	help
>  	  BPMP (Boot and Power Management Processor) is designed to off-loading
>  	  the PM functions which include clock/DVFS/thermal/power from the CPU.

Sounds good, thanks.

Thierry

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 4/7] dt-bindings: Changes for v6.2-rc1
  2022-11-21 17:12   ` Thierry Reding
@ 2022-11-29 17:16     ` Rob Herring
  -1 siblings, 0 replies; 30+ messages in thread
From: Rob Herring @ 2022-11-29 17:16 UTC (permalink / raw)
  To: Thierry Reding; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel

On Mon, Nov 21, 2022 at 06:12:36PM +0100, Thierry Reding wrote:
> Hi ARM SoC maintainers,
> 
> The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:
> 
>   Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-dt-bindings-v2
> 
> for you to fetch changes up to 97351cd8bea8e284cf62b4b7f35fa12059b47d7f:
> 
>   dt-bindings: usb: tegra-xusb: Convert to json-schema (2022-11-21 13:27:30 +0100)
> 
> Thanks,
> Thierry
> 
> ----------------------------------------------------------------
> dt-bindings: Changes for v6.2-rc1
> 
> New memory client IDs and IOMMU stream IDs, as well as new compatible
> strings are introduced to support more hardware on Tegra234. Some device
> tree bindings are converted to json-schema to allow formal validation.
> 
> ----------------------------------------------------------------
> Jon Hunter (1):
>       dt-bindings: tegra: Update headers for Tegra234
> 
> Mikko Perttunen (2):
>       dt-bindings: Add headers for NVDEC on Tegra234
>       dt-bindings: Add bindings for Tegra234 NVDEC
> 
> Sandipan Patra (1):
>       dt-bindings: pwm: tegra: Document Tegra234 PWM
> 
> Thierry Reding (4):
>       dt-bindings: pinctrl: tegra: Convert to json-schema
>       dt-bindings: pinctrl: tegra194: Separate instances
>       dt-bindings: pwm: tegra: Convert to json-schema
>       dt-bindings: usb: tegra-xusb: Convert to json-schema

This one has warnings due to upstream dtc changes. Details here[1].

Rob

[1] https://lore.kernel.org/all/CAL_JsqKFS5nKRihLL60zfqtNujrYGaxN7sp7SbYA_ajC4w2rpQ@mail.gmail.com/

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL v2 4/7] dt-bindings: Changes for v6.2-rc1
@ 2022-11-29 17:16     ` Rob Herring
  0 siblings, 0 replies; 30+ messages in thread
From: Rob Herring @ 2022-11-29 17:16 UTC (permalink / raw)
  To: Thierry Reding; +Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel

On Mon, Nov 21, 2022 at 06:12:36PM +0100, Thierry Reding wrote:
> Hi ARM SoC maintainers,
> 
> The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:
> 
>   Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-6.2-dt-bindings-v2
> 
> for you to fetch changes up to 97351cd8bea8e284cf62b4b7f35fa12059b47d7f:
> 
>   dt-bindings: usb: tegra-xusb: Convert to json-schema (2022-11-21 13:27:30 +0100)
> 
> Thanks,
> Thierry
> 
> ----------------------------------------------------------------
> dt-bindings: Changes for v6.2-rc1
> 
> New memory client IDs and IOMMU stream IDs, as well as new compatible
> strings are introduced to support more hardware on Tegra234. Some device
> tree bindings are converted to json-schema to allow formal validation.
> 
> ----------------------------------------------------------------
> Jon Hunter (1):
>       dt-bindings: tegra: Update headers for Tegra234
> 
> Mikko Perttunen (2):
>       dt-bindings: Add headers for NVDEC on Tegra234
>       dt-bindings: Add bindings for Tegra234 NVDEC
> 
> Sandipan Patra (1):
>       dt-bindings: pwm: tegra: Document Tegra234 PWM
> 
> Thierry Reding (4):
>       dt-bindings: pinctrl: tegra: Convert to json-schema
>       dt-bindings: pinctrl: tegra194: Separate instances
>       dt-bindings: pwm: tegra: Convert to json-schema
>       dt-bindings: usb: tegra-xusb: Convert to json-schema

This one has warnings due to upstream dtc changes. Details here[1].

Rob

[1] https://lore.kernel.org/all/CAL_JsqKFS5nKRihLL60zfqtNujrYGaxN7sp7SbYA_ajC4w2rpQ@mail.gmail.com/

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2022-11-29 17:17 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-21 17:12 [GIT PULL v2 1/7] soc/tegra: Changes for v6.2-rc1 Thierry Reding
2022-11-21 17:12 ` Thierry Reding
2022-11-21 17:12 ` [GIT PULL v2 2/7] firmware: tegra: " Thierry Reding
2022-11-21 17:12   ` Thierry Reding
2022-11-22 21:25   ` Arnd Bergmann
2022-11-22 21:25     ` Arnd Bergmann
2022-11-23 11:33     ` Thierry Reding
2022-11-23 11:33       ` Thierry Reding
2022-11-23 13:23       ` Arnd Bergmann
2022-11-23 13:23         ` Arnd Bergmann
2022-11-25 10:12         ` Thierry Reding
2022-11-25 10:12           ` Thierry Reding
2022-11-21 17:12 ` [GIT PULL v2 3/7] clk: " Thierry Reding
2022-11-21 17:12   ` Thierry Reding
2022-11-21 17:12 ` [GIT PULL v2 4/7] dt-bindings: " Thierry Reding
2022-11-21 17:12   ` Thierry Reding
2022-11-29 17:16   ` Rob Herring
2022-11-29 17:16     ` Rob Herring
2022-11-21 17:12 ` [GIT PULL v2 5/7] memory: tegra: " Thierry Reding
2022-11-21 17:12   ` Thierry Reding
2022-11-21 17:12 ` [GIT PULL v2 6/7] ARM: tegra: Device tree changes " Thierry Reding
2022-11-21 17:12   ` Thierry Reding
2022-11-21 17:12 ` [GIT PULL v2 7/7] arm64: " Thierry Reding
2022-11-21 17:12   ` Thierry Reding
2022-11-22 22:09   ` Arnd Bergmann
2022-11-22 22:09     ` Arnd Bergmann
2022-11-23 11:36     ` Thierry Reding
2022-11-23 11:36       ` Thierry Reding
2022-11-22 22:20 ` [GIT PULL v2 1/7] soc/tegra: Changes " patchwork-bot+linux-soc
2022-11-23 12:00 ` patchwork-bot+linux-soc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.