Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964875AbbLWIhZ (ORCPT ); Wed, 23 Dec 2015 03:37:25 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:37944 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753316AbbLWIhX (ORCPT ); Wed, 23 Dec 2015 03:37:23 -0500 MIME-Version: 1.0 In-Reply-To: <20151223003217.GA18700@rob-hp-laptop> References: <1450774949-23901-1-git-send-email-andy.yan@rock-chips.com> <1450775124-23966-1-git-send-email-andy.yan@rock-chips.com> <20151223003217.GA18700@rob-hp-laptop> Date: Wed, 23 Dec 2015 00:37:22 -0800 Message-ID: Subject: Re: [PATCH v1 1/6] dt-bindings: misc: add document for reboot-mode driver From: Moritz Fischer To: Rob Herring Cc: Andy Yan , heiko@sntech.de, Arnd Bergmann , john.stultz@linaro.org, sjg@chromium.org, Alexandre Belloni , treding@nvidia.com, Kumar Gala , Ian Campbell , wxt@rock-chips.com, Catalin Marinas , olof@lixom.net, geert+renesas@glider.be, linux-rockchip@lists.infradead.org, Dmitry Eremin-Solenikov , Sebastian Reichel , jun.nie@linaro.org, "pawel.moll@arm.com" , Will Deacon , Andrew Morton , Devicetree List , Russell King , Greg KH , joel@jms.id.au, linux-arm-kernel , lorenzo.pieralisi@arm.com, khilman@linaro.org, Linux Kernel Mailing List , Mark Rutland Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1158 Lines: 33 Rob, On Tue, Dec 22, 2015 at 4:32 PM, Rob Herring wrote: > I would like to see the property names here standardized as much as > possible. I'm not sure if we can define the properties as a u32 or need > some flexibility here. Quick question, semi on topic. I have a similar case (and a driver in the pipeline), however all I got is a (persistent over reboot) hardware register to which I can write whatever. On the other side I'd have u-boot pull out the value, but as it's up to u-boot to implement whatever it does with this info I'm kinda struggling with the idea of a standardized binding. In my case I'd like it to go into 'safe mode' or 'firmware update'. With loader = <0xace0ba5e>, <0xdeadbeef> ... and loader-names <> I could have u-boot read the values from fdt at boot. Then again I'm not describing hardware, but specific settings ... Would that be acceptable? Cheers, Moritz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/