forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 7
PN7160 related development/evaluation helpers and AC powerboard adaptions #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mhei
wants to merge
4
commits into
v6.12.34-2.1.0-phy-cb
Choose a base branch
from
v6.12.34-2.1.0-phy-cb-pn7160
base: v6.12.34-2.1.0-phy-cb
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
47477bc
arm64: dts: imx93-charge-som-ac-pb: drop fixed RFID UART configuration
mhei e9510e1
arm64: dts: imx93-charge-som-ac-pb-pn7160: introduce overlay AC power…
mhei 9156a9a
arm64: dts: imx93-charge-som: add overlay for I2C5 and PN7160
mhei 48fc8e1
arm64: dts: freescale: compile DTs for Charge SOM and Charge SOM EVB …
mhei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
arch/arm64/boot/dts/freescale/imx93-charge-som-ac-pb-pn7160.dtso
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| // SPDX-License-Identifier: GPL-2.0 | ||
| /* | ||
| * Copyright (C) 2026 chargebyte GmbH | ||
| * Author: Michael Heimpold <michael.heimpold@chargebyte.com> | ||
| */ | ||
|
|
||
| #include <dt-bindings/gpio/gpio.h> | ||
| #include <dt-bindings/interrupt-controller/irq.h> | ||
| #include "imx93-pinfunc.h" | ||
|
|
||
| /dts-v1/; | ||
| /plugin/; | ||
|
|
||
| / { | ||
| compatible = "chargebyte,imx93-ac-power-board"; | ||
| }; | ||
|
|
||
| &iomuxc { | ||
| pinctrl_rfid_gpio: rfidgpiogrp { | ||
| fsl,pins = < | ||
| MX93_PAD_UART2_RXD__GPIO1_IO06 0x31e // X15_6 | ||
| MX93_PAD_UART2_TXD__GPIO1_IO07 0x31e // X15_7 | ||
| >; | ||
| }; | ||
| }; | ||
|
|
||
| &lpi2c5 { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
|
|
||
| nfc@28 { | ||
| compatible = "nxp,nxp-nci-i2c"; | ||
| reg = <0x28>; | ||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&pinctrl_rfid_gpio>; | ||
| interrupt-parent = <&gpio1>; | ||
| interrupts = <6 IRQ_TYPE_LEVEL_HIGH>; | ||
| enable-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>; | ||
| firmware-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
arch/arm64/boot/dts/freescale/imx93-charge-som-i2c5-pn7160.dtso
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| // SPDX-License-Identifier: GPL-2.0 | ||
| /* | ||
| * Copyright (C) 2026 chargebyte GmbH | ||
| * Author: Michael Heimpold <michael.heimpold@chargebyte.com> | ||
| */ | ||
|
|
||
| #include <dt-bindings/gpio/gpio.h> | ||
| #include <dt-bindings/interrupt-controller/irq.h> | ||
| #include "imx93-pinfunc.h" | ||
|
|
||
| /dts-v1/; | ||
| /plugin/; | ||
|
|
||
| / { | ||
| compatible = "chargebyte,imx93-charge-som"; | ||
| }; | ||
|
|
||
| &iomuxc { | ||
| pinctrl_rfid_gpio: rfidgpiogrp { | ||
| fsl,pins = < | ||
| MX93_PAD_SD3_DATA1__GPIO3_IO23 0x31e // X11_SD3_D1 | ||
| MX93_PAD_SD3_DATA2__GPIO3_IO24 0x31e // X11_SD3_D2 | ||
| MX93_PAD_SD3_DATA3__GPIO3_IO25 0x31e // X11_SD3_D3 | ||
| >; | ||
| }; | ||
| }; | ||
|
|
||
|
|
||
| &lpi2c5 { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
|
|
||
| nfc@28 { | ||
| compatible = "nxp,nxp-nci-i2c"; | ||
| reg = <0x28>; | ||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&pinctrl_rfid_gpio>; | ||
| interrupt-parent = <&gpio3>; | ||
| interrupts = <25 IRQ_TYPE_LEVEL_HIGH>; | ||
| enable-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; | ||
| firmware-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; | ||
| }; | ||
|
|
||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| // SPDX-License-Identifier: GPL-2.0 | ||
| /* | ||
| * Copyright (C) 2026 chargebyte GmbH | ||
| * Author: Michael Heimpold <michael.heimpold@chargebyte.com> | ||
| */ | ||
|
|
||
| #include <dt-bindings/gpio/gpio.h> | ||
| #include "imx93-pinfunc.h" | ||
|
|
||
| /dts-v1/; | ||
| /plugin/; | ||
|
|
||
| / { | ||
| compatible = "chargebyte,imx93-charge-som"; | ||
| }; | ||
|
|
||
| &iomuxc { | ||
| pinctrl_lpi2c5: lpi2c5grp { | ||
| /* sion, drive strength: X2, slew rate: fast, pull up, open drain */ | ||
| fsl,pins = < | ||
| MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x40000b86 | ||
| MX93_PAD_GPIO_IO22__LPI2C5_SDA 0x40000b86 | ||
| >; | ||
| }; | ||
|
|
||
| pinctrl_lpi2c5_gpio: lpi2c5gpiogrp { | ||
| fsl,pins = < | ||
| MX93_PAD_GPIO_IO22__GPIO2_IO22 0x40000b9e | ||
| MX93_PAD_GPIO_IO23__GPIO2_IO23 0x40000b9e | ||
| >; | ||
| }; | ||
| }; | ||
|
|
||
| &lpi2c5 { | ||
| clock-frequency = <400000>; | ||
| pinctrl-names = "default", "gpio"; | ||
| pinctrl-0 = <&pinctrl_lpi2c5>; | ||
| pinctrl-1 = <&pinctrl_lpi2c5_gpio>; | ||
| scl-gpios = <&gpio2 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| sda-gpios = <&gpio2 22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
| status = "okay"; | ||
| }; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.