From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Kleine-Budde Subject: Re: [PATCH 2/3] ARM: dts: AM33XX: Add d_can instances to aliases Date: Tue, 20 Nov 2012 11:51:42 +0100 Message-ID: <50AB60BE.1080002@pengutronix.de> References: <1352916505-12343-1-git-send-email-anilkumar@ti.com> <1352916505-12343-3-git-send-email-anilkumar@ti.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4694272490480711414==" Return-path: In-Reply-To: <1352916505-12343-3-git-send-email-anilkumar-l0cyMroinI0@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: AnilKumar Ch Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-omap@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============4694272490480711414== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3B75AD3AC453A3D022E4E91C" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3B75AD3AC453A3D022E4E91C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/14/2012 07:08 PM, AnilKumar Ch wrote: > Add d_can instances to aliases node to get the D_CAN instance number > from the driver. To initialize D_CAN message RAM, corresponding instanc= e > number is required. >=20 > To initialize instance 0 message RAM then 0x1 should be written and for= > instance 1 message RAM, 0x2 should be written to control module registe= r. >=20 > With device-tree framework ip instance number is "-1" by default for al= l > instances. To get device id/instance number then modules should be adde= d > to DT "aliases" node. of_alias_get_id() gives the device id number base= d > on number of alias nodes present in "aliases node". >=20 > Signed-off-by: AnilKumar Ch Acked-by: Marc Kleine-Budde --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --------------enig3B75AD3AC453A3D022E4E91C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlCrYL4ACgkQjTAFq1RaXHNq0wCfU1373zmRNgk3MpUSn9DY3w64 v/wAn26Tvb6ZorUIQcbhMBlcg85xU3RC =f5IK -----END PGP SIGNATURE----- --------------enig3B75AD3AC453A3D022E4E91C-- --===============4694272490480711414== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss --===============4694272490480711414==--