CLK_OF_DECLARE advice required

2017-05-30 Thread Phil Elwell
Hi, I've run into a problem using the fixed-factor clock on Raspberry Pi and I'd like some advice before I submit a patch. Some context: the aim is to use a standard UART and some external circuitry as a MIDI interface. This would be straightforward except that Linux doesn't recognise the require

Re: CLK_OF_DECLARE advice required

2017-06-06 Thread Phil Elwell
On 05/06/2017 21:13, Stephen Boyd wrote: > On 06/05, Phil Elwell wrote: >> That sounds great, but it doesn't match my experience. Let me restate my >> observations with a bit more detail. >> >> In this scenario there three devices in a dependency chain: >> >> clock -> fixed-factor->clock -> uart.

Re: CLK_OF_DECLARE advice required

2017-06-06 Thread Stephen Boyd
On 06/06, Geert Uytterhoeven wrote: > Hi Stephen, > > On Mon, Jun 5, 2017 at 10:13 PM, Stephen Boyd wrote: > > On 06/05, Phil Elwell wrote: > >> That sounds great, but it doesn't match my experience. Let me restate my > >> observations with a bit more detail. > >> > >> In this scenario there thre

Re: CLK_OF_DECLARE advice required

2017-05-31 Thread Stephen Warren
On 05/30/2017 06:23 AM, Phil Elwell wrote: Hi, I've run into a problem using the fixed-factor clock on Raspberry Pi and I'd like some advice before I submit a patch. Some context: the aim is to use a standard UART and some external circuitry as a MIDI interface. This would be straightforward ex

Re: CLK_OF_DECLARE advice required

2017-05-31 Thread Stefan Wahren
Am 31.05.2017 um 17:27 schrieb Stephen Warren: > On 05/30/2017 06:23 AM, Phil Elwell wrote: >> Hi, >> >> I've run into a problem using the fixed-factor clock on Raspberry Pi >> and I'd >> like some advice before I submit a patch. >> >> Some context: the aim is to use a standard UART and some extern

Re: CLK_OF_DECLARE advice required

2017-05-31 Thread Phil Elwell
On 31/05/2017 16:58, Stefan Wahren wrote: > Am 31.05.2017 um 17:27 schrieb Stephen Warren: >> On 05/30/2017 06:23 AM, Phil Elwell wrote: >>> Hi, >>> >>> I've run into a problem using the fixed-factor clock on Raspberry Pi >>> and I'd >>> like some advice before I submit a patch. >>> >>> Some contex

Re: CLK_OF_DECLARE advice required

2017-05-31 Thread Stephen Warren
On 05/31/2017 10:28 AM, Phil Elwell wrote: On 31/05/2017 16:58, Stefan Wahren wrote: Am 31.05.2017 um 17:27 schrieb Stephen Warren: On 05/30/2017 06:23 AM, Phil Elwell wrote: Hi, I've run into a problem using the fixed-factor clock on Raspberry Pi and I'd like some advice before I submit a pa

Re: CLK_OF_DECLARE advice required

2017-05-31 Thread Stephen Boyd
On 05/31, Phil Elwell wrote: > On 31/05/2017 16:58, Stefan Wahren wrote: > > Am 31.05.2017 um 17:27 schrieb Stephen Warren: > >> On 05/30/2017 06:23 AM, Phil Elwell wrote: > >>> Hi, > >>> > >>> I've run into a problem using the fixed-factor clock on Raspberry Pi > >>> and I'd > >>> like some advice

Re: CLK_OF_DECLARE advice required

2017-06-01 Thread Phil Elwell
On 01/06/2017 07:39, Stephen Boyd wrote: > On 05/31, Phil Elwell wrote: >> On 31/05/2017 16:58, Stefan Wahren wrote: >>> Am 31.05.2017 um 17:27 schrieb Stephen Warren: On 05/30/2017 06:23 AM, Phil Elwell wrote: > Hi, > > I've run into a problem using the fixed-factor clock on Raspb

Re: CLK_OF_DECLARE advice required

2017-06-02 Thread Stephen Boyd
On 06/01, Phil Elwell wrote: > On 01/06/2017 07:39, Stephen Boyd wrote: > > On 05/31, Phil Elwell wrote: > >> For my edification, can you pretend for a moment that the application was > >> a valid one and > >> answer any of my original questions?: > >> > >> 1. Should all system clock drivers use O

Re: CLK_OF_DECLARE advice required

2017-06-05 Thread Phil Elwell
On 02/06/2017 23:34, Stephen Boyd wrote:> On 06/01, Phil Elwell wrote: >> On 01/06/2017 07:39, Stephen Boyd wrote: >>> On 05/31, Phil Elwell wrote: For my edification, can you pretend for a moment that the application was a valid one and answer any of my original questions?: >>

Re: CLK_OF_DECLARE advice required

2017-06-05 Thread Stephen Boyd
On 06/05, Phil Elwell wrote: > That sounds great, but it doesn't match my experience. Let me restate my > observations with a bit more detail. > > In this scenario there three devices in a dependency chain: > > clock -> fixed-factor->clock -> uart. > > The Fixed Factor Clock is declared with O

Re: CLK_OF_DECLARE advice required

2017-06-06 Thread Geert Uytterhoeven
Hi Stephen, On Mon, Jun 5, 2017 at 10:13 PM, Stephen Boyd wrote: > On 06/05, Phil Elwell wrote: >> That sounds great, but it doesn't match my experience. Let me restate my >> observations with a bit more detail. >> >> In this scenario there three devices in a dependency chain: >> >> clock -> fi