[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cc49edeb85294b00af2a2e6a88e542fc@BY2PR03MB505.namprd03.prod.outlook.com>
Date: Tue, 3 Jun 2014 03:19:58 +0000
From: "Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
To: Guenter Roeck <linux@...ck-us.net>,
"wim@...ana.be" <wim@...ana.be>,
"linux-watchdog@...r.kernel.org" <linux-watchdog@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] watchdog: imx2_wdt: adds big endianness support.
> > @@ -201,6 +204,10 @@ static int __init imx2_wdt_probe(struct platform_device
> *pdev)
> > if (!wdev)
> > return -ENOMEM;
> >
> > + big_endian = of_property_read_bool(np, "big-endian");
> > + if (big_endian)
> > + imx2_wdt_regmap_config.val_format_endian = REGMAP_ENDIAN_BIG;
> > +
>
> You'll need to document the use of this property in
> Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt.
>
Sorry for late.
Please see the next version.
Thanks,
BRs
Xiubo
> Guenter
>
> > res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> > base = devm_ioremap_resource(&pdev->dev, res);
> > if (IS_ERR(base))
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists