Message ID | 20230318121828.739424-8-bryan.odonoghue@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add Qualcomm PMIC TPCM support | expand |
On 18/03/2023 13:18, Bryan O'Donoghue wrote: > Adds a series of defines which are used in the DTS and pdphy driver for > identifying interrupts. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > .../dt-bindings/usb/typec/qcom,pmic-pdphy.h | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 include/dt-bindings/usb/typec/qcom,pmic-pdphy.h > > diff --git a/include/dt-bindings/usb/typec/qcom,pmic-pdphy.h b/include/dt-bindings/usb/typec/qcom,pmic-pdphy.h > new file mode 100644 > index 0000000000000..7d39985bcc779 > --- /dev/null > +++ b/include/dt-bindings/usb/typec/qcom,pmic-pdphy.h > @@ -0,0 +1,18 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ Same comments, same questions. Best regards, Krzysztof
diff --git a/include/dt-bindings/usb/typec/qcom,pmic-pdphy.h b/include/dt-bindings/usb/typec/qcom,pmic-pdphy.h new file mode 100644 index 0000000000000..7d39985bcc779 --- /dev/null +++ b/include/dt-bindings/usb/typec/qcom,pmic-pdphy.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2023, Linaro Ltd. All rights reserved. + */ + +#ifndef _DT_BINDINGS_QCOM_PMIC_PDPHY_H +#define _DT_BINDINGS_QCOM_PMIC_PDPHY_H + +#define PMIC_PDPHY_SIG_TX_IRQ 0x0 +#define PMIC_PDPHY_SIG_RX_IRQ 0x1 +#define PMIC_PDPHY_MSG_TX_IRQ 0x2 +#define PMIC_PDPHY_MSG_RX_IRQ 0x3 +#define PMIC_PDPHY_MSG_TX_FAIL_IRQ 0x4 +#define PMIC_PDPHY_MSG_TX_DISCARD_IRQ 0x5 +#define PMIC_PDPHY_MSG_RX_DISCARD_IRQ 0x6 +#define PMIC_PDPHY_FR_SWAP_IRQ 0x7 + +#endif
Adds a series of defines which are used in the DTS and pdphy driver for identifying interrupts. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- .../dt-bindings/usb/typec/qcom,pmic-pdphy.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/dt-bindings/usb/typec/qcom,pmic-pdphy.h