On Fri, 22 Aug 2014, Mark Brown wrote:
On Fri, Aug 22, 2014 at 04:11:33PM -0500, at...@opensource.altera.com wrote:
+ if (pdata pdata-reg_init_data) {
+ config.init_data = pdata-reg_init_data;
+ } else {
+ config.init_data = of_get_regulator_init_data(dev, np);
, the kernel doesn't boot.
If I rebuild with only the first patch, I get only one gpio block showing up
(should
have 3 for this board) and these messages:
[ cut here ]
WARNING: CPU: 0 PID: 1 at /home/atull/repos/linux-socfpga/fs/sysfs/dir.c:31
sysfs_warn_dup+0x58/0x74
From: Alan Tull at...@opensource.altera.com
This core exports methods of doing operations on FPGAs.
EXPORT_SYMBOL_GPL(fpga_mgr_write);
Write FPGA given a buffer and count.
EXPORT_SYMBOL_GPL(fpga_mgr_firmware_write);
Request firmware and write that to a fpga
From: Alan Tull at...@opensource.altera.com
[resend with fixed email settings]
The idea of the framework is to provide consistent ways of
programming raw images into FPGA's.
Programming from device tree overlays is supported.
The core (fpga-mgr.c) does not include a userspace interface
and
From: Alan Tull at...@opensource.altera.com
Add basic sysfs interface. Only exports two files:
/sys/class/fpga_manager/fpga0/name
Name of low level driver.
/sys/class/fpga_manager/fpga0/status
status of fpga framework as returned by core
fpga-mgr.c's fpga_mgr_ops_framework_status
From: Alan Tull at...@opensource.altera.com
This driver allows programming the fpga from
device tree overlays.
This code is dependent on Pantelis Antoniou's current
work on Device Tree overlays, a method of dynamically
altering the kerel's live Device Tree. This patchset
was tested with
On Wed, 20 Aug 2014, Romain Baeriswyl wrote:
Hi,
With the patch i2c designware add support of I2C standard mode I already
proposed:
- I2C standard mode is selected with 100kHz clock frequency.
- I2C fast mode is selected with 400kHy clock frequency.
- EINVAL error is returned if clock
On Wed, 20 Aug 2014, Romain Baeriswyl wrote:
From: Romain Baeriswyl romain.baeris...@abilis.com
Some legacy devices support ony I2C standard mode at 100kHz.
This patch allows to select the standard mode through the DTS
with the use of the existing clock-frequency parameter.
When
- Original Message -
From: atull at...@opensource.altera.com
To: Romain Baeriswyl romain.baeris...@abilis.com
Cc: Mark Rutland mark.rutl...@arm.com, w...@the-dreams.de,
bar...@tkos.co.il, mika westerberg mika.westerb...@linux.intel.com,
grant likely grant.lik...@linaro.org, robh
On Wed, 20 Aug 2014, atull wrote:
On Wed, 20 Aug 2014, Romain Baeriswyl wrote:
From: Romain Baeriswyl romain.baeris...@abilis.com
Some legacy devices support ony I2C standard mode at 100kHz.
This patch allows to select the standard mode through the DTS
with the use
From: Alan Tull at...@opensource.altera.com
Add support for enabling or disabling all supplies.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
drivers/hwmon/pmbus/Kconfig |9 ++
drivers/hwmon/pmbus/ltc2978.c | 69 +
2 files changed,
From: Alan Tull at...@opensource.altera.com
This set of patches adds regulator support to pmbus_core.c and to
ltc2978.c.
Other pmbus parts can use this to add their own regulator support.
Current ltc2978 support is limited to enable/disable.
Tested on ltc2978. Looking at the datasheets for
From: Alan Tull at...@opensource.altera.com
Enable pmbus device drivers to add regulator functionality.
To add a regulator, it's pretty straightforward. The pmbus
device driver needs to add regulator information to its
pmbus_driver_info struct:
* num_regulators : number of regulators
*
On Fri, 22 Aug 2014, Mark Brown wrote:
On Thu, Aug 21, 2014 at 05:21:26PM -0500, at...@opensource.altera.com wrote:
+config SENSORS_LTC2978_REGULATOR
+ boolean Regulator support for LTC2974, LTC2978, LTC3880, and LTC3883
+ default n
No need to say default n here, it's the default
From: Alan Tull at...@opensource.altera.com
Version 2 :
* Get regulator_init_data from platform data or device tree.
* One regulator per pmbus part.
* Clean up Kconfig and #includes.
This set of patches adds regulator support to pmbus_core.c and to
ltc2978.c. Other pmbus parts can use
From: Alan Tull at...@opensource.altera.com
To add a regulator, the pmbus device driver needs to add
regulator_desc information to its pmbus_driver_info struct.
The regulator_init_data can be intialized from either
platform data or the device tree.
Signed-off-by: Alan Tull
From: Alan Tull at...@opensource.altera.com
Add regulator with support for enabling or disabling all
supplies.
Signed-off-by: Alan Tull at...@opensource.altera.com
v2: Remove '#include linux/regulator/machine.h'
Kconfig fixes
Remove hardwired regulator_init_data
---
On Thu, 21 Aug 2014, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
This set of patches adds regulator support to pmbus_core.c and to
ltc2978.c.
Other pmbus parts can use this to add their own regulator support.
Current ltc2978 support is limited to
On Fri, 15 Aug 2014, Steffen Trumtrar wrote:
Hi!
Hello
Thanks for the feedback...
ttha...@opensource.altera.com writes:
From: Thor Thayer ttha...@opensource.altera.com
Add the Altera SDRAM EDAC bindings and device tree changes to the Altera
SoC project.
Signed-off-by: Thor
Hello,
I am interested in adding functionality to be able to gate power supplies
going through a ltc2978. I see that there is a hwmon driver already
existing (hwmon/pmbus/ltc2978.c). I see some of the other hwmon drivers
have MFD's. It looks like this ltc driver would need a MFD and a
On Mon, 18 Aug 2014, Guenter Roeck wrote:
On Sat, Aug 16, 2014 at 02:20:50PM +0100, Mark Brown wrote:
On Fri, Aug 15, 2014 at 04:34:49PM -0500, atull wrote:
I am interested in adding functionality to be able to gate power supplies
going through a ltc2978. I see that there is a hwmon
From: Alan Tull at...@opensource.altera.com
Add speed-mode Device Tree property to select between
standard and fast i2c mode. Previously, driver was hardwired
as fast mode. Default to fast mode if property is not
present.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
From: Alan Tull at...@opensource.altera.com
Add speed-mode Device Tree property to select between
standard and fast i2c mode. Previously, driver was hardwired
as fast mode. Default to fast mode if property is not
present.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
From: Alan Tull at...@opensource.altera.com
Use the documented, but unimplemented clock-frequency
Device Tree setting as a guide on whether to set the speed
mode bits in DW_IC_CON to standard or fast i2c mode.
Previously, the driver was hardwired to fast mode. Default
to fast mode if the
On Tue, 19 Aug 2014, Wolfram Sang wrote:
On Tue, Aug 19, 2014 at 01:34:35PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add speed-mode Device Tree property to select between
standard and fast i2c mode. Previously, driver was hardwired
as
From: Alan Tull at...@opensource.altera.com
Followup to bridge framework that was posted on 2013/10/3
This is a driver for enabling/disabling the fpga bridges under control
of a sys entry. It has a common framework and individual drivers for
the various bridges.
This framework uses the reset
From: Alan Tull at...@opensource.altera.com
Add sysfs document for fpga bridges.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
Documentation/ABI/testing/sysfs-class-fpga-bridge |5 +
1 file changed, 5 insertions(+)
create mode 100644
From: Alan Tull at...@opensource.altera.com
Add DTS binding documentation for the Altera FPGA bridges.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
.../bindings/fpga/altera-fpga2sdram-bridge.txt | 57
.../bindings/fpga/altera-hps2fpga-bridge.txt |
From: Alan Tull at...@opensource.altera.com
Support for bringing bridges out of reset. Bridges show up in sysfs
under /sys/class/fpga-bridge and can be enabled/disabled from sysfs
or from the device tree.
Supports enabling the following hps/fpga bridges:
* fpga2sdram
* fpga2hps
* hps2fpga
*
On Thu, 23 Oct 2014, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Followup to bridge framework that was posted on 2013/10/3
This is a driver for enabling/disabling the fpga bridges under control
of a sys entry. It has a common framework and individual
On Fri, 24 Oct 2014, Pantelis Antoniou wrote:
Hi Pavel,
On Oct 24, 2014, at 1:52 PM, Pavel Machek pa...@denx.de wrote:
Hi!
* /sys/class/fpga_manager/fpga/firmware
Name of FPGA image file to load using firmware class.
$ echo image.rbf /sys/class/fpga_manager/fpga/firmware
On Fri, 24 Oct 2014, Pavel Machek wrote:
On Thu 2014-10-23 18:51:05, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add sysfs document for fpga bridges.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
regulator_desc information and number of regulators to its
pmbus_driver_info struct.
regulator_desc can be declared using default macro
From: Alan Tull at...@opensource.altera.com
Add two helper functions:
* pmbus_write_byte_data = paged byte write
* pmbus_update_byte_data = paged byte read/modify/write
Signed-off-by: Alan Tull at...@opensource.altera.com
Cc: Guenter Roeck li...@roeck-us.net
Cc: Mark Brown broo...@kernel.org
From: Alan Tull at...@opensource.altera.com
Add simple on/off regulator support for ltc2978 and
other pmbus parts supported by ltc2978.c
Signed-off-by: Alan Tull at...@opensource.altera.com
Cc: Guenter Roeck li...@roeck-us.net
Cc: Mark Brown broo...@kernel.org
---
v2: Remove '#include
From: Alan Tull at...@opensource.altera.com
Each output has individual on/off control.
New in v6:
* Much cleanup of the bindings document
* s/vout_en/vout/g
Hopefully this is getting closer. We will still have the potential problem of
repeated node names on boards on boards that have many
From: Alan Tull at...@opensource.altera.com
Add device tree bindings documentation for ltc2978.
Signed-off-by: Alan Tull at...@opensource.altera.com
Cc: Guenter Roeck li...@roeck-us.net
Cc: Mark Rutland mark.rutl...@arm.com
Cc: Mark Brown broo...@kernel.org
---
v2: clean whitespace
v3: list
On Wed, 15 Oct 2014, Pavel Machek wrote:
On Tue 2014-10-14 14:33:39, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add code that requests that the sdr controller go into
self-refresh mode. This code is run from ocram.
This patch assumes that u-boot
On Thu, 16 Oct 2014, Guenter Roeck wrote:
On Wed, Oct 15, 2014 at 01:55:09PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
On Thu, 16 Oct 2014, Guenter Roeck wrote:
On Thu, Oct 16, 2014 at 01:40:23PM -0500, atull wrote:
On Thu, 16 Oct 2014, Guenter Roeck wrote:
On Wed, Oct 15, 2014 at 01:55:09PM -0500, at...@opensource.altera.com
wrote:
From: Alan Tull at...@opensource.altera.com
Add support
On Thu, 16 Oct 2014, Guenter Roeck wrote:
On Wed, Oct 15, 2014 at 01:55:06PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Each output has individual on/off control.
New in v6:
* Much cleanup of the bindings document
* s/vout_en/vout/g
From: Alan Tull at...@opensource.altera.com
Supports standard ops for low level FPGA drivers.
Various manufacturors' FPGAs can be supported by adding low
level drivers. Each driver needs to register its ops
using fpga_mgr_register().
Exports methods of doing operations to program FPGAs. These
From: Alan Tull at...@opensource.altera.com
Followup to Yet another stab at a fpga framework
(https://lkml.org/lkml/2014/8/1/517)
One of the problems with writing this framework has been the
wide variety of use cases. My perspective has mostly been
for a fpga bolted to a SoC. Having said that,
From: Alan Tull at...@opensource.altera.com
Support programming the fpga from device tree overlays.
This patch adds one exported function to the core
(fpga-mgr.c): of_fpga_mgr_dev_lookup
Get pointer to fpga manager struct given a phandle.
This code is dependent on Pantelis Antoniou's current
From: Alan Tull at...@opensource.altera.com
Add documentation for new fpga manager sysfs interface.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
Documentation/ABI/testing/sysfs-class-fpga-manager | 38
1 file changed, 38 insertions(+)
create mode 100644
On Wed, 22 Oct 2014, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Support programming the fpga from device tree overlays.
This patch adds one exported function to the core
(fpga-mgr.c): of_fpga_mgr_dev_lookup
Get pointer to fpga manager struct given a
On Sun, 7 Sep 2014, Pavel Machek wrote:
Hi!
[resend with fixed email settings]
The idea of the framework is to provide consistent ways of
programming raw images into FPGA's.
Programming from device tree overlays is supported.
The core (fpga-mgr.c) does not include a
On Wed, 27 Aug 2014, Weike Chen wrote:
This patch enables suspend and resume mode for the power management, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh hock.leong.k...@intel.com
Reviewed-by: Shevchenko, Andriy andriy.shevche...@intel.com
Signed-off-by:
On Wed, 27 Aug 2014, Weike Chen wrote:
This patch enables 'debounce' for the designware GPIO, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh hock.leong.k...@intel.com
Reviewed-by: Shevchenko, Andriy andriy.shevche...@intel.com
Signed-off-by: Weike Chen
On Fri, 12 Sep 2014, Chen, Alvin wrote:
On Tue, 9 Sep 2014, Weike Chen wrote:
struct dwapb_gpio;
+struct dwapb_context;
struct dwapb_gpio_port {
struct bgpio_chip bgc;
boolis_registered;
struct dwapb_gpio *gpio;
+ struct
On Tue, 7 Oct 2014, Pavel Machek wrote:
Hi!
From: Alan Tull at...@opensource.altera.com
Add code that requests that the sdr controller go into
self-refresh mode. This code is run from ocram.
This patch assumes that u-boot has already configured sdr:
On Tue, 7 Oct 2014, Pavel Machek wrote:
On Wed 2014-10-01 14:38:23, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset
since that results in increased power consumption.
Reset CPU1 briefly
On Fri, 3 Oct 2014, Mark Brown wrote:
On Thu, Oct 02, 2014 at 01:37:50PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
On Mon, 6 Oct 2014, Guenter Roeck wrote:
On Thu, Oct 02, 2014 at 01:37:48PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add device tree bindings documentation for ltc2978.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
v2: clean
On Thu, 9 Oct 2014, Steffen Trumtrar wrote:
On Thu, Oct 09, 2014 at 08:16:18AM -0500, Dinh Nguyen wrote:
Hi Philipp,
On 10/9/14, 4:03 AM, Philipp Zabel wrote:
Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb
dingu...@opensource.altera.com:
From: Dinh Nguyen
On Thu, 2 Oct 2014, Arnd Bergmann wrote:
On Thursday 02 October 2014 01:16:46 Pavel Machek wrote:
struct socfpga_reset_manager {
u32 status;
u32 ctrl;
u32 counts;
u32 padding1;
u32 mpu_mod_reset;
On Wed, 1 Oct 2014, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add code that requests that the sdr controller go into
self-refresh mode. This code is run from ocram.
This patch assumes that u-boot has already configured sdr:
On Wed, 1 Oct 2014, Pavel Machek wrote:
Hi!
From: Alan Tull at...@opensource.altera.com
Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset
since that results in increased power consumption.
Reset CPU1 briefly during CPU1 bootup.
This has been tested for hotplug
From: Alan Tull at...@opensource.altera.com
Add device tree bindings documentation for ltc2978.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
.../devicetree/bindings/hwmon/ltc2978.txt | 42
1 file changed, 42 insertions(+)
create mode 100644
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
regulator_desc information, of_regulator_match information,
and number of regulators to its pmbus_driver_info struct.
regulator_desc
From: Alan Tull at...@opensource.altera.com
Add two helper functions:
* pmbus_write_byte_data = paged byte write
* pmbus_update_byte_data = paged byte read/modify/write
Signed-off-by: Alan Tull at...@opensource.altera.com
---
drivers/hwmon/pmbus/pmbus_core.c | 31
From: Alan Tull at...@opensource.altera.com
This set of patches adds regulator support for pmbus_core.c and ltc2978.c
Each output has individual on/off control.
From PMBus_Specification_Part_II_Rev_1-3_20140318.pdf:
12.1.1. OPERATION Command Bit [7]
Bit [7] controls whether the PMBus device
On Wed, 1 Oct 2014, Pavel Machek wrote:
Hi!
Add code that requests that the sdr controller go into
self-refresh mode. This code is run from ocram.
This patch assumes that u-boot has already configured sdr:
sdr.ctrlcfg.lowpwreq.selfrfshmask = 3
From: Alan Tull at...@opensource.altera.com
Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset
since that results in increased power consumption.
Reset CPU1 briefly during CPU1 bootup.
This has been tested for hotplug and suspend/resume and results
in no increased power consumption.
From: Alan Tull at...@opensource.altera.com
Add code that requests that the sdr controller go into
self-refresh mode. This code is run from ocram.
This patch assumes that u-boot has already configured sdr:
sdr.ctrlcfg.lowpwreq.selfrfshmask = 3
sdr.ctrlcfg.lowpwrtiming.clkdisablecycles = 8
From: Alan Tull at...@opensource.altera.com
Patch 1: socfpga: hotplug: put cpu1 in wfi
Fix how cpu1 is hotplugged to prevent increased power
consumption.
v2: no need to flush the caches
clean up spacing in comments
replace a register offset with a macro
Patch 2: socfpga: support
From: Alan Tull at...@opensource.altera.com
Add simple on/off regulator support for ltc2978 and
other pmbus parts supported by ltc2978.c
Signed-off-by: Alan Tull at...@opensource.altera.com
v2: Remove '#include linux/regulator/machine.h'
Only one regulator per pmbus device
Get
On Wed, 1 Oct 2014, Guenter Roeck wrote:
On Wed, Oct 01, 2014 at 02:05:46PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
This set of patches adds regulator support for pmbus_core.c and ltc2978.c
Each output has individual on/off control.
On Wed, 1 Oct 2014, Guenter Roeck wrote:
On Wed, Oct 01, 2014 at 03:18:20PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add simple on/off regulator support for ltc2978 and
other pmbus parts supported by ltc2978.c
Signed-off-by: Alan Tull
On Wed, 1 Oct 2014, Guenter Roeck wrote:
On Wed, Oct 01, 2014 at 03:18:20PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add simple on/off regulator support for ltc2978 and
other pmbus parts supported by ltc2978.c
Signed-off-by: Alan Tull
From: Alan Tull at...@opensource.altera.com
Add device tree bindings documentation for ltc2978.
Signed-off-by: Alan Tull at...@opensource.altera.com
---
v2: clean whitespace
---
.../devicetree/bindings/hwmon/ltc2978.txt | 41
1 file changed, 41 insertions(+)
From: Alan Tull at...@opensource.altera.com
Each output has individual on/off control.
From PMBus_Specification_Part_II_Rev_1-3_20140318.pdf:
12.1.1. OPERATION Command Bit [7]
Bit [7] controls whether the PMBus device output is on or off.
If bit [7] is cleared (equals 0), then the output is
From: Alan Tull at...@opensource.altera.com
Add simple on/off regulator support for ltc2978 and
other pmbus parts supported by ltc2978.c
Signed-off-by: Alan Tull at...@opensource.altera.com
---
v2: Remove '#include linux/regulator/machine.h'
Only one regulator per pmbus device
Get
From: Alan Tull at...@opensource.altera.com
Add two helper functions:
* pmbus_write_byte_data = paged byte write
* pmbus_update_byte_data = paged byte read/modify/write
Signed-off-by: Alan Tull at...@opensource.altera.com
---
v2: add prototypes for the two new functions
---
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
regulator_desc information and number of regulators to its
pmbus_driver_info struct.
regulator_desc can be declared using default macro
On Thu, 2 Oct 2014, Guenter Roeck wrote:
On 10/02/2014 04:20 AM, Mark Brown wrote:
On Wed, Oct 01, 2014 at 02:05:49PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
This is basically
On Fri, 24 Oct 2014, Steffen Trumtrar wrote:
Hi!
Hi,
I see that my documentation sucks and needs cleanup. I'll try to
answer some of the flames and get a more coherent version out soon.
On Thu, Oct 23, 2014 at 06:51:06PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull
On Tue, 28 Oct 2014, atull wrote:
On Fri, 24 Oct 2014, Steffen Trumtrar wrote:
+ - init-val : 0 if driver should disable bridge at startup
+1 if driver should enable bridge at startup
+driver leaves bridge in current state if property
On Wed, 29 Oct 2014, Steffen Trumtrar wrote:
On Wed, Oct 29, 2014 at 10:16:32AM +, Mark Brown wrote:
On Wed, Oct 29, 2014 at 08:57:01AM +0100, Steffen Trumtrar wrote:
So, that shouldn't be a problem though, as I already cooked up a driver
for
the L3 with all the ranges
On Wed, 29 Oct 2014, Pavel Machek wrote:
Hi!
+Optional properties:
+ - label : name that you want this bridge to show up as under
+/sys/class/fpga-bridge. Default is brdevice# if
this is
+not specified.
+
Why?
On Wed, 29 Oct 2014, Steffen Trumtrar wrote:
Hi!
On Tue, Oct 28, 2014 at 04:19:03PM -0500, atull wrote:
On Fri, 24 Oct 2014, Steffen Trumtrar wrote:
Hi!
Hi,
I see that my documentation sucks and needs cleanup. I'll try to
answer some of the flames and get a more
On Tue, 9 Sep 2014, Weike Chen wrote:
The Synopsys DesignWare APB GPIO driver only supports open firmware devices.
But, like Intel Quark X1000 SOC, which has a single PCI function exporting
a GPIO and an I2C controller, it is a Multifunction device. This patch is
to enable the current
On Thu, 11 Sep 2014, Chen, Alvin wrote:
Hi Alvin,
I did a quick test and this looks like it works for me (with device tree).
I had a couple of small fixes below.
It is very appreciated to help testing.
Sure. Thanks for adding features to the driver!
Alan
-
On Thu, 11 Sep 2014, Shevchenko, Andriy wrote:
On Wed, 2014-09-10 at 14:11 -0500, atull wrote:
[]
static int dwapb_gpio_probe(struct platform_device *pdev)
{
+ int i;
struct resource *res;
struct dwapb_gpio *gpio;
- struct device_node *np;
int err;
- unsigned
On Tue, 9 Sep 2014, Weike Chen wrote:
struct dwapb_gpio;
+struct dwapb_context;
struct dwapb_gpio_port {
struct bgpio_chip bgc;
boolis_registered;
struct dwapb_gpio *gpio;
+ struct dwapb_context*ctx;
Alvin,
Will this build
On Tue, 16 Sep 2014, Weike Chen wrote:
One more:
+
+ /*
+ * Only port A can provide interrupts in all configurations of
+ * the IP.
+ */
+ if (pp-idx == 0
+ of_property_read_bool(port_np,
On Wed, 20 Aug 2014, Romain Baeriswyl wrote:
From: Romain Baeriswyl romain.baeris...@abilis.com
Some legacy devices support ony I2C standard mode at 100kHz.
This patch allows to select the standard mode through the DTS
with the use of the existing clock-frequency parameter.
When
On Fri, 26 Sep 2014, Dinh Nguyen wrote:
On 09/24/2014 03:27 PM, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add code that requests that the sdr controller go into
self-refresh mode. This code is run from ocram.
This patch assumes that u-boot has
On Sat, 20 Sep 2014, Wolfram Sang wrote:
On Wed, Aug 20, 2014 at 04:29:08PM +0200, Romain Baeriswyl wrote:
From: Romain Baeriswyl romain.baeris...@abilis.com
Some legacy devices support ony I2C standard mode at 100kHz.
This patch allows to select the standard mode through the DTS
with
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
regulator_desc information, of_regulator_match information,
and number of regulators to its pmbus_driver_info struct.
regulator_desc
From: Alan Tull at...@opensource.altera.com
This set of patches adds regulator support for pmbus_core.c and ltc2978.c
Each output has individual on/off control.
From PMBus_Specification_Part_II_Rev_1-3_20140318.pdf:
12.1.1. OPERATION Command Bit [7]
Bit [7] controls whether the PMBus device
From: Alan Tull at...@opensource.altera.com
Add two helper functions:
* pmbus_write_byte_data = paged byte write
* pmbus_update_byte_data = paged byte read/modify/write
Signed-off-by: Alan Tull at...@opensource.altera.com
---
drivers/hwmon/pmbus/pmbus_core.c | 31
From: Alan Tull at...@opensource.altera.com
Add simple on/off regulator support for ltc2978 and
other pmbus parts supported by ltc2978.c
Signed-off-by: Alan Tull at...@opensource.altera.com
v2: Remove '#include linux/regulator/machine.h'
Only one regulator per pmbus device
Get
From: Alan Tull at...@opensource.altera.com
Add code that requests that the sdr controller go into
self-refresh mode. This code is run from ocram.
This patch assumes that u-boot has already configured sdr:
sdr.ctrlcfg.lowpwreq.selfrfshmask = 3
sdr.ctrlcfg.lowpwrtiming.clkdisablecycles = 8
From: Alan Tull at...@opensource.altera.com
patch 1: socfpga: hotplug: put cpu1 in wfi
Fix how cpu1 is hotplugged to prevent increaced power
consumption.
patch 2: socfpga: support suspend to ram
* Initialize ocram
* Add a function to do suspend to ram and
place DDR in self-refresh
From: Alan Tull at...@opensource.altera.com
Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset
since that results in increased power consumption.
Reset CPU1 briefly during CPU1 bootup.
This has been tested for hotplug and suspend/resume and results
in no increased power consumption.
On Wed, 24 Sep 2014, Guenter Roeck wrote:
Hi Guenter,
On Wed, Sep 24, 2014 at 12:57:56PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add simple on/off regulator support for ltc2978 and
other pmbus parts supported by ltc2978.c
On Wed, 24 Sep 2014, Guenter Roeck wrote:
On Wed, Sep 24, 2014 at 12:57:55PM -0500, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
On Wed, 24 Sep 2014, Dinh Nguyen wrote:
Hi Alan,
On 9/24/14, 12:57 PM, at...@opensource.altera.com wrote:
From: Alan Tull at...@opensource.altera.com
Add support for simple on/off control of each channel.
To add regulator support, the pmbus part driver needs to add
On Wed, 24 Sep 2014, Russell King - ARM Linux wrote:
Hi Russell,
On Wed, Sep 24, 2014 at 03:27:28PM -0500, at...@opensource.altera.com wrote:
diff --git a/arch/arm/mach-socfpga/platsmp.c
b/arch/arm/mach-socfpga/platsmp.c
index 5356a72..1d5f8ad 100644
---
1 - 100 of 730 matches
Mail list logo