From: Alan Cox Subject: Re: RFC: exposing uartclk value to sysfs Date: Fri, 10 Aug 2012 23:48:58 +0100 Message-ID: <20120810234858.4a5decd4@pyramind.ukuu.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:41251 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755182Ab2HJWo2 (ORCPT ); Fri, 10 Aug 2012 18:44:28 -0400 In-Reply-To: Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Tomas Hlavacek Cc: linux-serial@vger.kernel.org, Greg Kroah-Hartman , Alan Cox > Although there is a way to set baud_base via setserial(8) I was > wandering whether it would be possible to expose uartclk in sysfs for > read/write. I have created a following proof-of-concept experimental > patch: That would probably be a *lot* more civilised. As a conceptual idea I think its a good one. Alan