From: S Twiss
Add DA9062 OnKey support into the existing DA9063 OnKey driver component by
using generic access tables for common register and bit mask definitions.
The following change will add generic register and bit mask support to the
DA9063 OnKey.
The following alterations have been made
From: S Twiss
Add MFD core driver support for a OnKey component
- MFD core adds the resource da9062_onkey_resources[] for the OnKey
- An appropriate value has been added into mfd_cell da9062_devs[] to
support component .name = "da9062-onkey" and
.of_compatible = "dlg,da9062
From: S Twiss
Add device tree bindings for the DA9062 OnKey driver component
Signed-off-by: Steve Twiss
---
Changes in V3:
- Child driver specifics separated out into separate document
in this case ../input/da9062-onkey.txt
Changes in V2:
- No change
This patch applies against linux
From: S Twiss
This patch set adds OnKey support for the Dialog DA9062 Power Management IC.
Changes are made to the existing DA9063 OnKey component so that functionality
in this device driver can be re-used to support the DA9062 OnKey.
This following patch set re-uses the existing kernel OnKey
From: S Twiss
This patch set adds RTC support for the Dialog DA9062 Power Management IC.
Changes are made to the existing DA9063 RTC component so that functionality
in this device driver can be re-used to support the DA9062 RTC.
This following patch set is the proposed method for re-using
From: S Twiss
Add DA9062 RTC support into the existing DA9063 RTC driver component by
using generic access tables for common register and bit mask definitions.
The following change will add generic register and bit mask support to the
DA9063 RTC. The changes are slightly complicated by
From: S Twiss
Add MFD core driver support for a RTC component
- MFD core adds the RTC resources da9062_rtc_resources[] for the RTC
alarm and tick timer IRQ
- An appropriate mfd_cell has been added into da9062_devs[] to support
a component .name = "da9062-rtc" and .of_compatib
From: S Twiss
Add device tree bindings for the DA9062 RTC driver component
Signed-off-by: Steve Twiss
---
Checks performed with linux-next/next-20150708/scripts/checkpatch.pl
da9062.txttotal: 0 errors, 0 warnings, 88 lines checked
This patch applies against linux-next and
From: S Twiss
Add DA9062 RTC support into the existing DA9063 RTC driver component by
using generic access tables for common register and bit mask definitions.
The following change will add generic register and bit mask support to the
DA9063 RTC. The changes are slightly complicated by
From: S Twiss
Add MFD core driver support for a RTC component
- MFD core adds the RTC resources da9062_rtc_resources[] for the RTC
alarm and tick timer IRQ
- An appropriate mfd_cell has been added into da9062_devs[] to support
a component .name = "da9062-rtc" and .of_compatib
From: S Twiss
This patch set adds RTC support for the Dialog DA9062 Power Management IC.
Changes are made to the existing DA9063 RTC component so that functionality
in this device driver can be re-used to support the DA9062 RTC.
This following patch set is the proposed method for re-using
From: S Twiss
Add device tree bindings for the DA9062 RTC driver component
Signed-off-by: Steve Twiss
---
Checks performed with linux-next/next-20150708/scripts/checkpatch.pl
da9062.txttotal: 0 errors, 0 warnings, 88 lines checked
This patch applies against linux-next and
From: S Twiss
Add MFD core driver support for a OnKey component
- MFD core adds the resource da9062_onkey_resources[] for the OnKey
- An appropriate value has been added into mfd_cell da9062_devs[] to
support component .name = "da9062-onkey" and
.of_compatible = "dlg,da9062
From: S Twiss
Add DA9062 OnKey support into the existing DA9063 OnKey driver component by
using generic access tables for common register and bit mask definitions.
The following change will add generic register and bit mask support to the
DA9063 OnKey.
The following alterations have been made
From: S Twiss
This patch set adds OnKey support for the Dialog DA9062 Power Management IC.
Changes are made to the existing DA9063 OnKey component so that functionality
in this device driver can be re-used to support the DA9062 OnKey.
This following patch set re-uses the existing kernel OnKey
From: S Twiss
Add device tree bindings for the DA9062 OnKey driver component
Signed-off-by: Steve Twiss
---
Checks performed with linux-next/next-20150708/scripts/checkpatch.pl
da9062.txttotal: 0 errors, 0 warnings, 97 lines checked
This patch applies against linux-next and
From: S Twiss
This patch set adds OnKey support for the Dialog DA9062 Power Management IC.
Changes are made to the existing DA9063 OnKey component so that functionality
in this device driver can be re-used to support the DA9062 OnKey.
This following patch set is the proposed method for re-using
From: S Twiss
Add device tree bindings for the DA9062 OnKey driver component
Signed-off-by: Steve Twiss
---
Checks performed with linux-next/next-20150708/scripts/checkpatch.pl
da9062.txttotal: 0 errors, 0 warnings, 97 lines checked
This patch applies against linux-next and
From: S Twiss
Add DA9062 OnKey support into the existing DA9063 OnKey driver component by
using generic access tables for common register and bit mask definitions.
The following change will add generic register and bit mask support to the
DA9063 OnKey.
The following alterations have been made
From: S Twiss
Add MFD core driver support for a OnKey component
- MFD core adds the resource da9062_onkey_resources[] for the OnKey
- An appropriate value has been added into mfd_cell da9062_devs[] to
support component .name = "da9062-onkey" and
.of_compatible = "dlg,da9062
From: S Twiss
This patch set adds RTC support for the Dialog DA9062 Power Management IC.
Changes are made to the existing DA9063 RTC component so that functionality
in this device driver can be re-used to support the DA9062 RTC.
This following patch set is the proposed method for re-using
From: S Twiss
Add device tree bindings for the DA9062 RTC driver component
Signed-off-by: Steve Twiss
---
Checks performed with linux-next/next-20150708/scripts/checkpatch.pl
da9062.txttotal: 0 errors, 0 warnings, 88 lines checked
This patch applies against linux-next and
From: S Twiss
Add DA9062 RTC support into the existing DA9063 RTC driver component by
using generic access tables for common register and bit mask definitions.
The following change will add generic register and bit mask support to the
DA9063 RTC. The changes are slightly complicated by
From: S Twiss
Add MFD core driver support for a RTC component
- MFD core adds the RTC resources da9062_rtc_resources[] for the RTC
alarm and tick timer IRQ
- An appropriate mfd_cell has been added into da9062_devs[] to support
a component .name = "da9062-rtc" and .of_compatib
From: S Twiss
Add device tree bindings for the DA9062 driver
Signed-off-by: Steve Twiss
---
Changes in V5:
- No change
Changes in V4:
- No change
Changes in V3:
- No change
Changes in V2:
- Dropped the RTC and Onkey binding information in this patch-set
Those drivers have been
From: S Twiss
Add MFD core driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V5:
- Alter register.h file with the following:
bit macro change defines of the form (0x01<
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#incl
From: S Twiss
This patch set adds support for the Dialog DA9062 Power Management IC.
In this patch set the following is provided:
- [PATCH V5 1/2]: MFD core support
- [PATCH V5 2/2]: Add bindings for all DA9062 components
Changes in V5
- The [PATCH V4 2/3] Watchdog driver has made it into
driver I would very much appreciate any
response so I can unblock things.
Thank you,
Steve Twiss, Dialog Semiconductor Ltd.
S Twiss (1):
input: misc: da9063: OnKey driver
drivers/input/misc/Kconfig| 10 ++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/da9063_onkey.c
put device.\n");
+ goto err_irq;
+ }
+
+ platform_set_drvdata(pdev, onkey);
+ return 0;
+
+err_irq:
+ free_irq(onkey->irq, onkey);
+ cancel_delayed_work_sync(&onkey->work);
+err:
+ return ret;
+}
+
+static int da9063_onkey_remove(struct
ailed to register input device.\n");
+ goto err_irq;
+ }
+
+ platform_set_drvdata(pdev, onkey);
+ return 0;
+
+err_irq:
+ free_irq(onkey->irq, onkey);
+ cancel_delayed_work_sync(&onkey->work);
+err:
+ return ret;
+}
+
+static int da
From: S Twiss
Remove the unused variable build warning for reg_matches that appears
during the compilation of the DA9062 regulator driver.
da9062-regulator.c: In function da9062_regulator_probe:
da9062-regulator.c:727:29: warning: unused variable reg_matches
Signed-off-by: Steve Twiss
From: S Twiss
Add MFD core driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V4:
- Removal of struct da9062 unrequired data from core.h and driver code
- Remove IRQ handler for VDD_WARN and corresponding IRQ request code
- Use DEFINE_RES_NAMED() macro for resource
From: S Twiss
Add device tree bindings for the DA9062 driver
Signed-off-by: Steve Twiss
---
Changes in V4:
- No change
Changes in V3:
- No change
Changes in V2:
- Dropped the RTC and Onkey binding information in this patch-set
Those drivers have been dropped from this patch set and
From: S Twiss
Add watchdog driver support for DA9062
Reviewed-by: Guenter Roeck
Signed-off-by: Steve Twiss
---
Changes in V4:
- Added reviewed-by from Guenter Roeck
Changes in V3:
- Removed unnecessary return statement in da9062_apply_window_protection()
- Deleted dev_err() kernel noise
From: S Twiss
This patch set adds support for the Dialog DA9062 Power Management IC.
In this patch set the following is provided:
- [PATCH V4 1/3]: MFD core support
- [PATCH V4 2/3]: Watchdog driver
- [PATCH V4 3/3]: Add bindings for all DA9062 components
Changes in V4
- Rebase patches
From: S Twiss
This patch set adds support for the Dialog DA9062 Power Management IC.
In this patch set the following is provided:
- [PATCH V3 1/4]: MFD core support
- [PATCH V3 2/4]: BUCK and LDO regulator driver
- [PATCH V3 3/4]: Watchdog driver
- [PATCH V3 4/4]: Add bindings for all
From: S Twiss
Add BUCK and LDO regulator driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V3:
- No change
Changes in V2:
- Copyright headers GPL v2 (and later) match correct 'GPL' in MODULE_LICENSE
- Log errors for any issues in interrupt handler da9062_ldo
From: S Twiss
Add device tree bindings for the DA9062 driver
Signed-off-by: Steve Twiss
---
Changes in V3:
- No change
Changes in V2:
- Dropped the RTC and Onkey binding information in this patch-set
Those drivers have been dropped from this patch set and the
binding information
From: S Twiss
Add watchdog driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V3:
- Removed unnecessary return statement in da9062_apply_window_protection()
- Deleted dev_err() kernel noise in da9062_wdt_update_timeout_register()
- Changed dev_alert() to be a dev_err
From: S Twiss
Add MFD core driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V3:
- Removed references to the RTC and OnKey in the mfd_cell definition.
Changes in V2:
- Copyright headers GPL v2 (and later) match correct 'GPL' in MODULE_LICENSE
- Ensure DA90
From: Steve Twiss
Add device tree bindings for the DA9063 OnKey driver
Acked-by: Lee Jones
Signed-off-by: Steve Twiss
---
Version History
Changes in V4
- No change
Changes in V3
- No change
Changes in V2
- Remove the circular dependency comment linking patches in the main e-mail
- Sea
From: Steve Twiss
Add MFD support for the DA9063 OnKey driver
The function da9063_clear_fault_log() is added to mitigate the case of a
hardware power-cut after a long-long OnKey press. Although there is no
software intervention in this case (by definition) such a shutdown would
cause persistent
);
+ goto err_irq;
+ }
+
+ platform_set_drvdata(pdev, onkey);
+ return 0;
+
+err_irq:
+ free_irq(onkey->irq, onkey);
+ cancel_delayed_work_sync(&onkey->work);
+err:
+ return ret;
+}
+
+static int da9063_onkey_remove(struct platform_device *pde
From: Steve Twiss
This patch set adds OnKey driver support for the Dialog
Semiconductor DA9063 PMIC.
[PATCH V4 1/3]: kernel driver onkey support
[PATCH V4 2/3]: device tree bindings document
[PATCH V4 3/3]: mfd core support
Thank you,
Steve Twiss, Dialog Semiconductor Ltd.
S Twiss (3
From: S Twiss
Add device tree bindings for the DA9062 driver
Signed-off-by: Steve Twiss
---
Changes in V2:
- Dropped the RTC and Onkey binding information in this patch-set
Those drivers have been dropped from this patch set and the
binding information has been removed accordingly
From: S Twiss
Add watchdog driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V2:
- Removed informational dev_info() 'installed watchdog' message
- Copyright headers GPL v2 (and later) match correct 'GPL' in MODULE_LICENSE
- Removed the explicit 300
From: S Twiss
Add MFD core driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V2:
- Copyright headers GPL v2 (and later) match correct 'GPL' in MODULE_LICENSE
- Ensure DA9062 core is tristate in Kconfig so it can be built as a module
- Move VDD_WARN code an
From: S Twiss
This patch set adds support for the Dialog DA9062 Power Management IC.
In this patch set the following is provided:
- [PATCH V2 1/4]: MFD core support
- [PATCH V2 2/4]: BUCK and LDO regulator driver
- [PATCH V2 3/4]: Watchdog driver
- [PATCH V2 4/4]: Add bindings for all
From: S Twiss
Add BUCK and LDO regulator driver support for DA9062
Signed-off-by: Steve Twiss
---
Changes in V2:
- Copyright headers GPL v2 (and later) match correct 'GPL' in MODULE_LICENSE
- Log errors for any issues in interrupt handler da9062_ldo_lim_event()
- Return IRQ_NO
From: Steve Twiss
Add MFD support for the DA9063 OnKey driver
The function da9063_clear_fault_log() is added to mitigate the case of a
hardware power-cut after a long-long OnKey press. Although there is no
software intervention in this case (by definition) such a shutdown would
cause persistent
From: Steve Twiss
This patch set adds OnKey driver support for the Dialog
Semiconductor DA9063 PMIC.
[PATCH V4 1/3]: kernel driver onkey support
[PATCH V4 2/3]: device tree bindings document
[PATCH V4 3/3]: mfd core support
Thank you,
Steve Twiss, Dialog Semiconductor Ltd.
S Twiss (3
From: Steve Twiss
Add device tree bindings for the DA9063 OnKey driver
Signed-off-by: Steve Twiss
---
Version History
Changes in V4
- No change
Changes in V3
- No change
Changes in V2
- Remove the circular dependency comment linking patches in the main e-mail
- Search and replace 'keyw
);
+ goto err_irq;
+ }
+
+ platform_set_drvdata(pdev, onkey);
+ return 0;
+
+err_irq:
+ free_irq(onkey->irq, onkey);
+ cancel_delayed_work_sync(&onkey->work);
+err:
+ return ret;
+}
+
+static int da9063_onkey_remove(struct platform_device *pde
From: Steve Twiss
Add MFD support for the DA9063 OnKey driver
Signed-off-by: Steve Twiss
---
Version History
Changes in V3
- The MFD code was originally in [PATCH V2 1/2]. This is now been moved into
this patch [PATCH V3 3/3].
- Whitespace cleanup
This patch applies against linux-next
From: Steve Twiss
Add device tree bindings for the DA9063 OnKey driver
Signed-off-by: Steve Twiss
---
Version History
Changes in V3
- No change
Changes in V2
- Remove the circular dependency comment linking patches in the main e-mail
- Search and replace 'keyword' with 'property' in onke
o err_irq;
+ }
+
+ platform_set_drvdata(pdev, onkey);
+ return 0;
+
+err_irq:
+ free_irq(onkey->irq, onkey);
+ cancel_delayed_work_sync(&onkey->work);
+err:
+ return ret;
+}
+
+static int da9063_onkey_remove(struct platform_device *pdev)
+{
+ stru
From: Steve Twiss
This patch set adds OnKey driver support for the Dialog
Semiconductor DA9063 PMIC.
[PATCH V3 1/3]: kernel driver onkey support
[PATCH V3 2/3]: device tree bindings document
[PATCH V3 3/3]: mfd core support
Thank you,
Steve Twiss, Dialog Semiconductor Ltd.
S Twiss (3
From: S Twiss
Add watchdog driver support for DA9062
Signed-off-by: Steve Twiss
---
This patch applies against linux-next and v4.0
drivers/watchdog/Kconfig | 9 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/da9062_wdt.c | 249
From: S Twiss
Add OnKey driver support for DA9062
Signed-off-by: Steve Twiss
---
This patch applies against linux-next and v4.0
drivers/input/misc/Kconfig| 10 ++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/da9062-onkey.c | 223
From: S Twiss
Add BUCK and LDO regulator driver support for DA9062
Signed-off-by: Steve Twiss
---
This patch applies against linux-next and v4.0
drivers/regulator/Kconfig| 10 +
drivers/regulator/Makefile | 1 +
drivers/regulator/da9062-regulator.c | 968
From: S Twiss
Add device tree bindings for the DA9062 driver
Signed-off-by: Steve Twiss
---
This patch applies against linux-next and v4.0
Documentation/devicetree/bindings/mfd/da9062.txt | 107 +++
1 file changed, 107 insertions(+)
create mode 100644 Documentation
From: S Twiss
This patch set adds support for the Dialog DA9062 Power Management IC.
In this patch set the following is provided:
- [PATCH V1 1/6]: MFD core support
- [PATCH V1 2/6]: BUCK and LDO regulator driver
- [PATCH V1 3/6]: RTC driver
- [PATCH V1 4/6]: OnKey driver
- [PATCH V1 5/6
From: S Twiss
Add MFD core driver support for DA9062
Signed-off-by: Steve Twiss
---
This patch applies against linux-next and v4.0
drivers/mfd/Kconfig | 12 +
drivers/mfd/Makefile |3 +-
drivers/mfd/da9062-core.c| 611
From: S Twiss
Add RTC driver support for DA9062
Signed-off-by: Steve Twiss
---
This patch applies against linux-next and v4.0
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-da9062.c | 367 +++
3 files
From: S Twiss
This patch set adds OnKey driver support for the Dialog
Semiconductor DA9063 PMIC.
[PATCH V2 1/2]: kernel driver onkey support
[PATCH V2 2/2]: device tree bindings document
Thank you,
Steve Twiss, Dialog Semiconductor Ltd.
S Twiss (2):
input: misc: da9063: OnKey driver
truct platform_device *pdev)
+{
+ struct da9063_onkey *onkey = platform_get_drvdata(pdev);
+
+ free_irq(onkey->irq, onkey);
+ cancel_delayed_work_sync(&onkey->work);
+ input_unregister_device(onkey->input);
+ return 0;
+}
+
+static struct platform_driver da9063
From: Steve Twiss
Add device tree bindings for the DA9063 OnKey driver
Signed-off-by: Steve Twiss
---
Changes from PATCH V1 to V2
---
- Remove the circular dependency comment linking patches in the main e-mail
- Search and replace 'keyword' with 'property' in onkey sub
67 matches
Mail list logo