From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751697AbdJMUdk (ORCPT ); Fri, 13 Oct 2017 16:33:40 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:54833 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339AbdJMUdi (ORCPT ); Fri, 13 Oct 2017 16:33:38 -0400 X-Google-Smtp-Source: ABhQp+SoTEMc8atnXNm4gTyVEQTeDiI2MI4tJdFGxdMt42wmVOaWj72jhgdi91FAoer6q7wyVoFj/A== Date: Fri, 13 Oct 2017 15:33:36 -0500 From: Rob Herring To: Chris Packham Cc: mark.rutland@arm.com, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/5] uio: dt-bindings: Add binding for "st,stm32f100" Message-ID: <20171013203336.tuacljvb4jrwcosi@rob-hp-laptop> References: <20171009224655.6173-1-chris.packham@alliedtelesis.co.nz> <20171009224655.6173-3-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171009224655.6173-3-chris.packham@alliedtelesis.co.nz> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 10, 2017 at 11:46:52AM +1300, Chris Packham wrote: > The stm32f100 is a general purpose micro controller. Document a binding > that allows a user-space driver to be implemented for these devices. It may be general purpose, but how it is hooked up to the host is not and probably could be done in a variety of ways. I'd expect that to be described in a binding doc (that's not a suggestion to add it to this doc as I'm fundamentally against any binding with "UIO" in it). Also, while the processor itself is general purpose, typically its function on a given board would not be except maybe on dev boards. It's that function (a combination of the uC and its firmware) which we want to describe to the host OS. There's already examples of uC used as PMICs or system controllers. Rob