Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754826AbbLDQEy (ORCPT ); Fri, 4 Dec 2015 11:04:54 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:62837 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754638AbbLDQEv (ORCPT ); Fri, 4 Dec 2015 11:04:51 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Damien Riegel , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Russell King , linux-watchdog@vger.kernel.org, Pawel Moll , Ian Campbell , Shawn Guo , linux-kernel@vger.kernel.org, Wim Van Sebroeck , Guenter Roeck , Sascha Hauer , Kumar Gala , kernel@savoirfairelinux.com, Lee Jones , Samuel Ortiz Subject: Re: [PATCH v7 2/6] mfd: syscon: add a DT property to set value width Date: Fri, 04 Dec 2015 17:02:53 +0100 Message-ID: <1488444.chqN1XL3OQ@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151202232102.GB6055@localhost> References: <1448899191-13891-1-git-send-email-damien.riegel@savoirfairelinux.com> <20151130190015.GA31006@rob-hp-laptop> <20151202232102.GB6055@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:ssq7q2bII5VzzQkwTv1mLJ0hmMXJ/lmxiYkQuEgC/4/n4Zl/mYw tIxhoIs9j/SpGIQlX/0jfJyp2K5TvW9++rD2tudBXz9p2xjQm9dTPI/d0igOcvz56xhOtUF YI+bp9n7haEJms8dlLuJrTSx5h20AMXc6OGuJrZNkb27iSDFisQI2vjasLREPJbJNZqAPBR Pu8DzW60Hewtf/U/zXLgg== X-UI-Out-Filterresults: notjunk:1;V01:K0:hkI94eiZvf0=:JKFClha4az3m+6t5x+IKcv lq3jduaBhkv4Z6InbgEsdqZHGykM8QDyvCuTmSg0TSkTMAsPG3U4LVyUDxEuuDkHfRqTuYOaZ 9BVbrOqFh3ux7zO/M42AmD030TT666BkltKzzxlXoQYENHCI8ChhSNIkJEC2CaqVaXT+dYPaH FLtXGOrp/JR0u1qIPsV/+obOJ5gWBGM6NcJEk+EYY+4nYBC/gRAscPEOyMqp2BR3mp6mMTYrq dtff7OKa0ra1LRqfVHuOSKIP69RS+OPzhz4uMknIwIYmU6kzaMIYWMhHurQCkEqrun2XikoHw y/B+qhI9xtlvCkWSpG/3QMQ9tf06tHk0KwWd+MtxH4yvD70TDPyLCE7zCl2CMVugKIW7hJY5z +uVk8p1axXQDxeSvlLF79CNP7cjMi2HX7O1MGreczaIzIHMaZ+exAeiqhi/8urvaQ1O9Jy1nC 6zkH6lOcO7znAVQMmPNYfnu1zN4eACVP2cuk2vkURcAoNSf7+YnWXlQeKmS/YuOc8FElctbDM +U5mm+AlU+NoqcHnthjsN1ZITVdr81TzjslmyIJ1W4EzdgYxJnLWuGhHudADkOpWAhYUODti8 Z4G4XPcf6lcsQYHd2D/CLQ2646QJ92s/YkqkHLX+rF4N9FKZ2HwG4Rf+wapK1jxQtSlz8bhQ6 KfIvzShG3KaCq8bWqX4Dmg49GzFkNL+y2zHSDdqDBEhZNn/8nM8pbSRArbj9pOMkhH7oPBCaj dYEfqfyxy2MMdfFB Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1497 Lines: 39 On Wednesday 02 December 2015 18:21:02 Damien Riegel wrote: > Lee, Arnd, > > I had to make changes in this patch to address Rob's comments. > reg-io-width is now in bytes while bus-width was a value in bits. Could > you please review this patch ? Ok, that's fine. > > On Mon, Nov 30, 2015 at 01:00:15PM -0600, Rob Herring wrote: > > On Mon, Nov 30, 2015 at 10:59:47AM -0500, Damien Riegel wrote: > > > Currently syscon has a fixed configuration of 32 bits for register and > > > values widths. In some cases, it would be desirable to be able to > > > customize the value width. > > > > > > For example, certain boards (like the ones manufactured by Technologic > > > Systems) have a FPGA that is memory-mapped, but its registers are only > > > 16-bit wide. > > > > > > This patch adds an optional "reg-io-width" DT binding for syscon that > > > allows to change the width for the data bus (i.e. val_bits). If this > > > property is provided, it will also set the register stride to > > > reg-io-width's value. If not provided, the default configuration is > > > used. > > > > > > Signed-off-by: Damien Riegel > > > > Acked-by: Rob Herring > > > Acked-by: Arnd Bergmann -- 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/