lkml.org 
[lkml]   [2015]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v4 3/5] dt/bindings: bcm2835: add binding documentation for bcm2835-aux
    From
    Date

    > On 16.09.2015, at 06:12, Stephen Warren <swarren@wwwdotorg.org> wrote:
    >
    > On 09/04/2015 01:26 AM, Martin Sperl wrote:
    >>
    >>> On 26.08.2015, at 03:44, Stephen Warren <swarren@wwwdotorg.org> wrote:
    >>>
    >>> On 08/24/2015 02:40 AM, kernel@martin.sperl.org wrote:
    >>>
    >>>> +Example:
    >>>> +
    >>>> +aux_enable: aux_enable@0x7e215004 {
    >>>> + compatible = "bcrm,bcm2835-aux";
    >>>> + reg = <0x7e215004 0x04>;
    >>>
    >>> I'd expect that to be <0x7e215000 0x8>;
    >>
    >> The reason is that we just handle enable with this driver,
    >> which just requires access to the 0x7e215004 register.
    >>
    >> The 0x7e215000 register (interrupt mask) could be used by a
    >> cascaded interrupt-controller, but as the spi and uart drivers
    >> can run with shared interrupts this is not a necessity.
    >
    > The DT is supposed to describe the HW, not any particular SW's use of
    > the HW. If the HW block has 2 registers, so must the DT reg property.

    Please look at V6 of the patch-series, that uses Erics clock-patch.


    \
     
     \ /
      Last update: 2015-09-16 07:41    [W:5.103 / U:24.684 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site