From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Elwell Subject: Re: [PATCH v10 3/4] dtc: Plugin and fixup support Date: Tue, 29 Nov 2016 12:57:11 +0000 Message-ID: References: <1480077131-14526-1-git-send-email-pantelis.antoniou@konsulko.com> <1480077131-14526-4-git-send-email-pantelis.antoniou@konsulko.com> <20161128041228.GJ30927@umbus.fritz.box> <4672e164-aae0-6306-fe70-146a1f930cf7@raspberrypi.org> <20161129021131.GD13307@umbus.fritz.box> <66c7f8c5-94e9-a6ca-4402-fa0ccf2a6ac0@raspberrypi.org> <1F9EDF06-98B1-4270-AA58-1A9D9A9F9803@konsulko.com> <96BE1B80-0843-4981-AA2A-E89EA6A02600@konsulko.com> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=raspberrypi.org; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp; bh=0/Y+Edr6pv5vB0ywQtBmYfEGYq6ilSs6xTUg8WZosoA=; b=wqBN9aEp7LfG1yxyu9d42mnXEeNO9q6lUJ6u1G99g8duj9ZoDpjolbBeuyKAHAGpXQEb MuILmsjeHvaqhAhWbkpn5Eui3WJLZRY1QF3d0giBT8qGtj/5i0TcSqqCsND6BcnvJyCa +vcjkFve86KiXVa8SbTSqxXhpaewSpTVcyk3vCZHRyiBzzDf8SIJ3gzApeK0O/Ve+z1A uhbIMwacRKEoGIaz+rZUkBsi27dbufrNaohs0k+p7I4O5HXC7ujH0dJiWl4i43wKa3Wv 8Bl0edwNRJQlNnu1OIXA+w21GOQTq+DS+ZHDB1U85XzGVcP7j7324NOr/Br+qPT7Gke/ 5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi-org.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=0/Y+Edr6pv5vB0ywQtBmYfEGYq6ilSs6xTUg8WZosoA=; b=FdZh6ubG9vSlo/ag5C2lrV1nGbRkywv76kuq5Yb1avXp0W/75jyzLiHdRipGj1Mpro GGDu1HYx77PoBLtKFC61ouV2RqG2F4LEWthos6hifPhCwyHPW2SRMb2t9WhwHJL4pYAL kLJzadVyE2qGQDxhIL/GWJ5f4QvOeYrmbGXzJ6BxpiQ5B5btVVTUf1F2xJIV8/uzKyy+ wv5ik8JYcPZJlYCyXjP/o/FxTOPqZn8+flx3gsnnuw2sUBZK4XAbtmUND6X/20jBbSaq UqkkIZt4sbM8Hi2yXxVi64WzpS+n6Da9WkcrpSSvdnd27GWhn0DVq03s3FGrbUdRGqV5 ehhQ== In-Reply-To: <96BE1B80-0843-4981-AA2A-E89EA6A02600-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> Sender: devicetree-compiler-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="windows-1252" To: Pantelis Antoniou Cc: David Gibson , Jon Loeliger , Grant Likely , Frank Rowand , Rob Herring , Jan Luebbe , Sascha Hauer , Simon Glass , Maxime Ripard , Thomas Petazzoni , Boris Brezillon , Antoine Tenart , Stephen Boyd , Devicetree Compiler , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 29/11/2016 12:24, Pantelis Antoniou wrote: > First note is that this is exactly what the portable connector is suppose= d to > do; abstract away the SoC differences. > > Second note is that it=92s not the overlay application that=92s having pr= oblems, it=92s > your parameter patching method. > > The 'spimaxfrequency =3D <&can0>,"spi-max-frequency:0=94=92 form could mo= re easily be > done by targeting aliases instead of node labels. > > I.e. You can apply the overlay, set an alias to the node and instead of r= eferencing > the label, reference the alias. But the patching is done before the overlays are applied, in isolation from the base tree, so that they can still be used with the kernel configfs overlay mechanism. How do aliases (which associated symbols with absolute paths) help? > Again, this is a stop-gap until the portable connector is done, but what = I take out > of this is the need for a parameterization step in which an overlay is mo= dified before > it is applied according to an external parameter. Yes, absolutely. Phil