devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dts doubts
@ 2016-07-28 17:57 Ryan
       [not found] ` <CANMsd01Od5J2EX7w-YFXmE+cmpyfq+vs88WeKiO8K0-t=FTmTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan @ 2016-07-28 17:57 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA

Hello,

I have certain doubts on dts files. If anyone help me clarify it would
be helpful.


Suppose, the following dts file entry is already done in the
base/parent/included dts file:

fimc_is_spi_pin1: fimc-is-spi-pin1 {
samsung,pins = "gpf1-7", "gpf1-6", "gpf1-5", "gpf1-4";
samsung,pin-function = <2>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};

Can i modify the parameters in the child dts file. Say i want to
modify "samsung,pin-function" or add new parameters to the above
declaration.

Thanks for your help.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dts doubts
       [not found] ` <CANMsd01Od5J2EX7w-YFXmE+cmpyfq+vs88WeKiO8K0-t=FTmTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-08-03 20:10   ` Frank Rowand
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Rowand @ 2016-08-03 20:10 UTC (permalink / raw)
  To: Ryan, devicetree-u79uwXL29TY76Z2rM5mHXA

On 07/28/16 10:57, Ryan wrote:
> Hello,
> 
> I have certain doubts on dts files. If anyone help me clarify it would
> be helpful.
> 
> 
> Suppose, the following dts file entry is already done in the
> base/parent/included dts file:
> 
> fimc_is_spi_pin1: fimc-is-spi-pin1 {
> samsung,pins = "gpf1-7", "gpf1-6", "gpf1-5", "gpf1-4";
> samsung,pin-function = <2>;
> samsung,pin-pud = <0>;
> samsung,pin-drv = <0>;
> };
> 
> Can i modify the parameters in the child dts file. Say i want to

Yes, you can.  This is a common pattern, for example where a .dtsi file sets

   status = "disabled";

then the including .dts file later changes status to "okay" or "ok".

> modify "samsung,pin-function" or add new parameters to the above
> declaration.
> 
> Thanks for your help.
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-03 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28 17:57 dts doubts Ryan
     [not found] ` <CANMsd01Od5J2EX7w-YFXmE+cmpyfq+vs88WeKiO8K0-t=FTmTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-03 20:10   ` Frank Rowand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).