From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754453AbbI3HaF (ORCPT ); Wed, 30 Sep 2015 03:30:05 -0400 Received: from eusmtp01.atmel.com ([212.144.249.242]:15100 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753907AbbI3HaD (ORCPT ); Wed, 30 Sep 2015 03:30:03 -0400 From: Wenyou Yang To: Liam Girdwood , Mark Brown , "Rob Herring" , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" CC: Nicolas Ferre , , , , Wenyou Yang Subject: [PATCH v2 0/2] Add support to make output voltage determined by VSET2[] bits Date: Wed, 30 Sep 2015 15:25:48 +0800 Message-ID: <1443597950-27849-1-git-send-email-wenyou.yang@atmel.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch is to add support to make the output voltage of ACT8865 DC/DC regulator determined by VSET2[] bits. The DT property "active-semi,vsel-high" is used to specify the VSEL pin at high on the board. When the VSEL pin is high, output voltage is programmed by VSET2[] bits. Changes in v2: - fix missed argument of macro "ACT88xx_REG" for act8865_alt_regulators structure variable. - set variable "voltage_select" initial value to avoid compile warning. Wenyou Yang (2): regulator: act8865: support output voltage by VSET2[] bits regulator: act8865: add DT binding for property "active-semi,vsel-high" .../bindings/regulator/act8865-regulator.txt | 3 +++ drivers/regulator/act8865-regulator.c | 24 ++++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) -- 1.7.9.5