Re: [PATCH 4/4] dmaengine: Add debugfs entries for PTDMA information

2019-09-25 Thread Sanjay R Mehta
On 9/24/2019 1:35 PM, gre...@linuxfoundation.org wrote: > [CAUTION: External Email] > > On Tue, Sep 24, 2019 at 07:33:02AM +, Mehta, Sanju wrote: >> +static const struct file_operations pt_debugfs_info_ops = { >> + .owner = THIS_MODULE, >> + .open = simple_open, >> + .read = ptdma_

Re: [PATCH 4/4] dmaengine: Add debugfs entries for PTDMA information

2019-09-25 Thread Sanjay R Mehta
On 9/24/2019 1:35 PM, gre...@linuxfoundation.org wrote: > [CAUTION: External Email] > > On Tue, Sep 24, 2019 at 07:33:02AM +, Mehta, Sanju wrote: >> +static const struct file_operations pt_debugfs_info_ops = { >> + .owner = THIS_MODULE, >> + .open = simple_open, >> + .read = ptdma_

Re: [PATCH 4/4] dmaengine: Add debugfs entries for PTDMA information

2019-09-24 Thread gre...@linuxfoundation.org
On Tue, Sep 24, 2019 at 07:33:02AM +, Mehta, Sanju wrote: > +static const struct file_operations pt_debugfs_info_ops = { > + .owner = THIS_MODULE, > + .open = simple_open, > + .read = ptdma_debugfs_info_read, > + .write = NULL, > +}; > + > +static const struct file_operations pt

[PATCH 4/4] dmaengine: Add debugfs entries for PTDMA information

2019-09-24 Thread Mehta, Sanju
From: Sanjay R Mehta Expose data about the configuration and operation of the PTDMA through debugfs entries: device name, capabilities, configuration, statistics. Signed-off-by: Sanjay R Mehta Reviewed-by: Shyam Sundar S K Reviewed-by: Rajesh Kumar --- drivers/dma/ptdma/Makefile| 3