From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755986Ab2FTMXh (ORCPT ); Wed, 20 Jun 2012 08:23:37 -0400 Received: from hqemgate04.nvidia.com ([216.228.121.35]:2253 "EHLO hqemgate04.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755701Ab2FTMXa (ORCPT ); Wed, 20 Jun 2012 08:23:30 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 20 Jun 2012 05:20:34 -0700 From: Laxman Dewangan To: , , , , , , , CC: , , , Laxman Dewangan Subject: [PATCH V3 0/3] regulator: dt: add policy to match regulator with prop "regulator-compatible" Date: Wed, 20 Jun 2012 17:53:04 +0530 Message-ID: <1340194987-23654-1-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 1.7.1.1 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 and patch V1 of this series: add policy to match regulator with the property of "regulator-compatible" of each child regulator node with their hardware counterparts name. Modify documentation as well to reflect this change and dts files. Changes from V1: - Modify the existing of_regulator_match() to use the property "regulator-compatible" of each child node of regulator for matching rather than child node name. - Documentation change to reflect this policy who are using the of_regulator_match(). - Modify the dts file to absorb this policy. Changes from V2: - Making modification of the db8500.dtsi as first patch. - Add break in te match loop in of_regulator_match() when match found. - Add the policy in the dt documentation of regulator.txt if the regulators nodes are under regulator node. Laxman Dewangan (3): ARM: dts: db8500: add property "regulator-compatible" regulator node regulator: dt: regulator match by regulator-compatible regulator: dt: add policy to have property "regulator-compatible" Documentation/devicetree/bindings/mfd/tps65910.txt | 54 +++++++++++++---- .../devicetree/bindings/regulator/regulator.txt | 5 ++ .../devicetree/bindings/regulator/tps6586x.txt | 60 +++++++++++++++----- arch/arm/boot/dts/db8500.dtsi | 30 ++++++++++ drivers/regulator/of_regulator.c | 51 +++++++++++------ 5 files changed, 154 insertions(+), 46 deletions(-)