From: Julien Panis <jpanis@baylibre.com>
To: Bhargav Raviprakash <bhargav.r@ltts.com>, linux-kernel@vger.kernel.org
Cc: m.nirmaladevi@ltts.com, lee@kernel.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, arnd@arndb.de,
gregkh@linuxfoundation.org, lgirdwood@gmail.com,
broonie@kernel.org, linus.walleij@linaro.org,
linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
nm@ti.com, vigneshr@ti.com, kristo@kernel.org,
eblanc@baylibre.com
Subject: Re: [PATCH v3 01/11] mfd: tps6594: Add register definitions for TI TPS65224 PMIC
Date: Fri, 8 Mar 2024 12:24:40 +0100 [thread overview]
Message-ID: <44295772-4635-42c2-b7b5-cdc37505715e@baylibre.com> (raw)
In-Reply-To: <20240308103455.242705-2-bhargav.r@ltts.com>
On 3/8/24 11:34, Bhargav Raviprakash wrote:
> From: Nirmala Devi Mal Nadar <m.nirmaladevi@ltts.com>
>
> Extend TPS6594 PMIC register and field definitions to support TPS65224
> power management IC.
>
> TPS65224 is software compatible to TPS6594 and can re-use many of the
> same definitions, new definitions are added to support additional
> controls available on TPS65224.
>
> Signed-off-by: Nirmala Devi Mal Nadar <m.nirmaladevi@ltts.com>
> Signed-off-by: Bhargav Raviprakash <bhargav.r@ltts.com>
> ---
> include/linux/mfd/tps6594.h | 354 ++++++++++++++++++++++++++++++++++--
> 1 file changed, 342 insertions(+), 12 deletions(-)
[...]
> +/* IRQs */
> +enum tps65224_irqs {
> + /* INT_BUCK register */
> + TPS65224_IRQ_BUCK1_UVOV,
> + TPS65224_IRQ_BUCK2_UVOV,
> + TPS65224_IRQ_BUCK3_UVOV,
> + TPS65224_IRQ_BUCK4_UVOV,
> + /* INT_LDO_VMON register */
> + TPS65224_IRQ_LDO1_UVOV,
> + TPS65224_IRQ_LDO2_UVOV,
> + TPS65224_IRQ_LDO3_UVOV,
> + TPS65224_IRQ_VCCA_UVOV,
> + TPS65224_IRQ_VMON1_UVOV,
> + TPS65224_IRQ_VMON2_UVOV,
> + /* INT_GPIO register */
> + TPS65224_IRQ_GPIO1,
> + TPS65224_IRQ_GPIO2,
> + TPS65224_IRQ_GPIO3,
> + TPS65224_IRQ_GPIO4,
> + TPS65224_IRQ_GPIO5,
> + TPS65224_IRQ_GPIO6,
> + /* INT_STARTUP register */
> + TPS65224_IRQ_VSENSE,
> + TPS65224_IRQ_ENABLE,
> + TPS65224_IRQ_PB_SHORT,
> + TPS65224_IRQ_FSD,
> + TPS65224_IRQ_SOFT_REBOOT,
> + /* INT_MISC register */
> + TPS65224_IRQ_BIST_PASS,
> + TPS65224_IRQ_EXT_CLK,
> + TPS65224_IRQ_REG_UNLOCK,
> + TPS65224_IRQ_TWARN,
> + TPS65224_IRQ_PB_LONG,
> + TPS65224_IRQ_PB_FALL,
> + TPS65224_IRQ_PB_RISE,
> + TPS65224_IRQ_ADC_CONV_READY,
> + /* INT_MODERATE_ERR register */
> + TPS65224_IRQ_TSD_ORD,
> + TPS65224_IRQ_BIST_FAIL,
> + TPS65224_IRQ_REG_CRC_ERR,
> + TPS65224_IRQ_RECOV_CNT,
> + /* INT_SEVERE_ERR register */
> + TPS65224_IRQ_TSD_IMM,
> + TPS65224_IRQ_VCCA_OVP,
> + TPS65224_IRQ_PFSM_ERR,
> + TPS65224_IRQ_BG_XMON,
> + /* INT_FSM_ERR register */
> + TPS65224_IRQ_IMM_SHUTDOWN,
> + TPS65224_IRQ_ORD_SHUTDOWN,
> + TPS65224_IRQ_MCU_PWR_ERR,
> + TPS65224_IRQ_SOC_PWR_ERR,
> + TPS65224_IRQ_COMM_ERR,
> + TPS65224_IRQ_I2C2_ERR,
> + /* INT_ESM register */
> + TPS65224_IRQ_ESM_MCU_PIN,
> + TPS65224_IRQ_ESM_MCU_FAIL,
> + TPS65224_IRQ_ESM_MCU_RST,
You should remove the 3 lines above for ESM_MCU, since there is none
linux driver for ESM_MCU.
> +};
> +
> +#define TPS65224_IRQ_NAME_BUCK1_UVOV "buck1_uvov"
> +#define TPS65224_IRQ_NAME_BUCK2_UVOV "buck2_uvov"
> +#define TPS65224_IRQ_NAME_BUCK3_UVOV "buck3_uvov"
> +#define TPS65224_IRQ_NAME_BUCK4_UVOV "buck4_uvov"
> +#define TPS65224_IRQ_NAME_LDO1_UVOV "ldo1_uvov"
> +#define TPS65224_IRQ_NAME_LDO2_UVOV "ldo2_uvov"
> +#define TPS65224_IRQ_NAME_LDO3_UVOV "ldo3_uvov"
> +#define TPS65224_IRQ_NAME_VCCA_UVOV "vcca_uvov"
> +#define TPS65224_IRQ_NAME_VMON1_UVOV "vmon1_uvov"
> +#define TPS65224_IRQ_NAME_VMON2_UVOV "vmon2_uvov"
> +#define TPS65224_IRQ_NAME_GPIO1 "gpio1"
> +#define TPS65224_IRQ_NAME_GPIO2 "gpio2"
> +#define TPS65224_IRQ_NAME_GPIO3 "gpio3"
> +#define TPS65224_IRQ_NAME_GPIO4 "gpio4"
> +#define TPS65224_IRQ_NAME_GPIO5 "gpio5"
> +#define TPS65224_IRQ_NAME_GPIO6 "gpio6"
> +#define TPS65224_IRQ_NAME_VSENSE "vsense"
> +#define TPS65224_IRQ_NAME_ENABLE "enable"
> +#define TPS65224_IRQ_NAME_PB_SHORT "pb_short"
> +#define TPS65224_IRQ_NAME_FSD "fsd"
> +#define TPS65224_IRQ_NAME_SOFT_REBOOT "soft_reboot"
> +#define TPS65224_IRQ_NAME_BIST_PASS "bist_pass"
> +#define TPS65224_IRQ_NAME_EXT_CLK "ext_clk"
> +#define TPS65224_IRQ_NAME_REG_UNLOCK "reg_unlock"
> +#define TPS65224_IRQ_NAME_TWARN "twarn"
> +#define TPS65224_IRQ_NAME_PB_LONG "pb_long"
> +#define TPS65224_IRQ_NAME_PB_FALL "pb_fall"
> +#define TPS65224_IRQ_NAME_PB_RISE "pb_rise"
> +#define TPS65224_IRQ_NAME_ADC_CONV_READY "adc_conv_ready"
> +#define TPS65224_IRQ_NAME_TSD_ORD "tsd_ord"
> +#define TPS65224_IRQ_NAME_BIST_FAIL "bist_fail"
> +#define TPS65224_IRQ_NAME_REG_CRC_ERR "reg_crc_err"
> +#define TPS65224_IRQ_NAME_RECOV_CNT "recov_cnt"
> +#define TPS65224_IRQ_NAME_TSD_IMM "tsd_imm"
> +#define TPS65224_IRQ_NAME_VCCA_OVP "vcca_ovp"
> +#define TPS65224_IRQ_NAME_PFSM_ERR "pfsm_err"
> +#define TPS65224_IRQ_NAME_BG_XMON "bg_xmon"
> +#define TPS65224_IRQ_NAME_IMM_SHUTDOWN "imm_shutdown"
> +#define TPS65224_IRQ_NAME_ORD_SHUTDOWN "ord_shutdown"
> +#define TPS65224_IRQ_NAME_MCU_PWR_ERR "mcu_pwr_err"
> +#define TPS65224_IRQ_NAME_SOC_PWR_ERR "soc_pwr_err"
> +#define TPS65224_IRQ_NAME_COMM_ERR "comm_err"
> +#define TPS65224_IRQ_NAME_I2C2_ERR "i2c2_err"
> +#define TPS65224_IRQ_NAME_ESM_MCU_PIN "esm_mcu_pin"
> +#define TPS65224_IRQ_NAME_ESM_MCU_FAIL "esm_mcu_fail"
> +#define TPS65224_IRQ_NAME_ESM_MCU_RST "esm_mcu_rst"
You should remove the 3 lines above for ESM_MCU.
Julien
next prev parent reply other threads:[~2024-03-08 11:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 10:34 [PATCH v3 00/11] Add support for TI TPS65224 PMIC Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 01/11] mfd: tps6594: Add register definitions " Bhargav Raviprakash
2024-03-08 11:24 ` Julien Panis [this message]
2024-03-20 10:13 ` Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 02/11] mfd: tps6594: use volatile_table instead of volatile_reg Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 03/11] mfd: tps6594: add regmap config in match data Bhargav Raviprakash
2024-03-14 13:30 ` Dan Carpenter
2024-03-20 10:22 ` Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 04/11] dt-bindings: mfd: ti,tps6594: Add TI TPS65224 PMIC Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 05/11] mfd: tps6594-i2c: Add TI TPS65224 PMIC I2C Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 06/11] mfd: tps6594-spi: Add TI TPS65224 PMIC SPI Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 07/11] mfd: tps6594-core: Add TI TPS65224 PMIC core Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 08/11] misc: tps6594-pfsm: Add TI TPS65224 PMIC PFSM Bhargav Raviprakash
2024-03-08 10:58 ` Julien Panis
2024-03-08 10:34 ` [PATCH v3 09/11] regulator: tps6594-regulator: Add TI TPS65224 PMIC regulators Bhargav Raviprakash
2024-03-14 11:28 ` Esteban Blanc
2024-03-20 10:15 ` Bhargav Raviprakash
2024-03-14 13:30 ` Dan Carpenter
2024-03-20 10:17 ` Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 10/11] pinctrl: pinctrl-tps6594: Add TPS65224 PMIC pinctrl and GPIO Bhargav Raviprakash
2024-03-14 11:29 ` Esteban Blanc
2024-03-20 10:18 ` Bhargav Raviprakash
2024-03-08 10:34 ` [PATCH v3 11/11] arch: arm64: dts: ti: k3-am62p5-sk: Add TPS65224 PMIC support in AM62P dts Bhargav Raviprakash
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44295772-4635-42c2-b7b5-cdc37505715e@baylibre.com \
--to=jpanis@baylibre.com \
--cc=arnd@arndb.de \
--cc=bhargav.r@ltts.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eblanc@baylibre.com \
--cc=gregkh@linuxfoundation.org \
--cc=kristo@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.nirmaladevi@ltts.com \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox