Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-04-01 Thread Wolfram Sang
Hi Linus, > I am a great supporter of this idea. Great, thanks! > When other debugging tools for GPIO got DT bindings it was concluded that > it is possible to create bindings like this for debugging without even > specifying > any formal bindings. They are just for debugging after all. So, I r

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-04-01 Thread Bartosz Golaszewski
On Thu, Apr 1, 2021 at 3:08 PM Linus Walleij wrote: > > On Tue, Mar 30, 2021 at 10:58 AM Wolfram Sang > wrote: > > > This is a simple logic analyzer using GPIO polling. It comes with a > > script to isolate a CPU for polling. While this is definately not a > > production level analyzer, it can be

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-04-01 Thread Linus Walleij
On Tue, Mar 30, 2021 at 10:58 AM Wolfram Sang wrote: > This is a simple logic analyzer using GPIO polling. It comes with a > script to isolate a CPU for polling. While this is definately not a > production level analyzer, it can be a helpful first view when remote > debugging. Read the documentat

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-03-30 Thread Wolfram Sang
> > +snipplet which analyzes an I2C bus at 400KHz on a Renesas Salvator-XS > > board, > >snippet Thanks! > > > +the following settings are used: The isolated CPU shall be CPU1 because it > > is a > > +big core in a big.LITTLE setup. Because CPU1 is the default, we don't need > > a > > +

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-03-30 Thread Randy Dunlap
Hi-- On 3/30/21 1:56 AM, Wolfram Sang wrote: > diff --git a/Documentation/dev-tools/gpio-logic-analyzer.rst > b/Documentation/dev-tools/gpio-logic-analyzer.rst > new file mode 100644 > index ..2847260736d4 > --- /dev/null > +++ b/Documentation/dev-tools/gpio-logic-analyzer.rst > @@ -0

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-03-30 Thread Wolfram Sang
Hi Andy, > I would like to look at it closer, but don't have time right now. So, > some kind of a shallow review. Still, thanks for that! > But the idea is, let's say, interesting. :) > > +The binding documentation is in the ``misc`` folder of the Kernel binding > > +documentation. > > Can't

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-03-30 Thread Andy Shevchenko
On Tue, Mar 30, 2021 at 11:58 AM Wolfram Sang wrote: > > This is a simple logic analyzer using GPIO polling. It comes with a > script to isolate a CPU for polling. While this is definately not a definitely > production level analyzer, it can be a helpful first view when remote > debugging. Read

[PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-03-30 Thread Wolfram Sang
This is a simple logic analyzer using GPIO polling. It comes with a script to isolate a CPU for polling. While this is definately not a production level analyzer, it can be a helpful first view when remote debugging. Read the documentation for details. Signed-off-by: Wolfram Sang --- .../dev-too