From patchwork Fri Oct 5 15:36:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10628319 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C80DA933 for ; Fri, 5 Oct 2018 15:38:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE3BE28A52 for ; Fri, 5 Oct 2018 15:38:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF094296A7; Fri, 5 Oct 2018 15:38:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64FC428A52 for ; Fri, 5 Oct 2018 15:38:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729180AbeJEWhQ (ORCPT ); Fri, 5 Oct 2018 18:37:16 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33445 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729084AbeJEWhQ (ORCPT ); Fri, 5 Oct 2018 18:37:16 -0400 Received: by mail-lj1-f196.google.com with SMTP id z21-v6so12009647ljz.0; Fri, 05 Oct 2018 08:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZCf33qrb2hqSKhelVYfNZnVvCL42nB6oHuNJ9Gt3DlY=; b=Inwj2dY8vBnJ7AB0yZfh5SuMkvaxZSJxN35QsgmULFycrWqf/+fh7/DObQj390h6/p MeI4pw+Co65EXAdyRDktVyTbYB7f8u12/LvejFpKbSpACJZHydYPV2qj7SrYoAIqln20 I7zl6bv/pOFZK6AD+0WYh+VNuF2bMLH+/SGRET3oHL8NogUZGIeSywa+/5E0IPgavcFr cQpjGSfVq4dUW636yICoB+2wfJ/KbD54w2KGnuoXl30oVD0Loy6hB1zeFOwazOVgHogs HBq7WudpYZoYAzEwFBxF0mtflnshR9WW1rYlXOzLVwg0elwCa99YCLJ4Co0sMeuSRSd8 iIjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZCf33qrb2hqSKhelVYfNZnVvCL42nB6oHuNJ9Gt3DlY=; b=d6uOLHLQ4aNcuYmLmKhs6bBsV8fFKCwQTCqZerwzE3VRbIZ5VYXe/73hJatknMQ1J+ 9xlNTDJ1A6kWCGvABbSNrviyoS75m+NqO8iAbFDwRJ5ADQ8Un+gHU1Icb3iCbEygXwPP lw9AUDpiN2rN5ZL06O5DNviafKSKPQZGRz9k71AqWkBjXIeFweebuSBF0s819lYZutJm oNvZnyGUDQ1oESzIrrzvyJIKu9eaUnN4/wy+jhrI4qWzzx2pzKYiTEUfEF0lBTmBUd5R 7kFm8uqta83wgcQ5+9vGECSv7xLzeMFKDpmkfApPDXVZyElkYemaVqohVELdsJghKPrF RN0Q== X-Gm-Message-State: ABuFfojPuUr1O8O/Wvcghv2HeK53OSk0zn6nkqQ1sYTdizvoGxpgxIAf btGbjOCiuJpe+PaabK7HvF8= X-Google-Smtp-Source: ACcGV62LLdVf2OiI+pv6on5I3HDCTFZPqb9sYIy8ScFrhBNYyUv1v16dLXXLRpG46LGEWHCB7BZvFw== X-Received: by 2002:a2e:9549:: with SMTP id t9-v6mr7667499ljh.94.1538753880575; Fri, 05 Oct 2018 08:38:00 -0700 (PDT) Received: from localhost.localdomain (109-252-91-213.nat.spd-mgts.ru. [109.252.91.213]) by smtp.gmail.com with ESMTPSA id w22-v6sm1879373lfd.72.2018.10.05.08.37.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 08:37:59 -0700 (PDT) From: Dmitry Osipenko To: Mark Brown , Rob Herring , Maciej Purski Cc: Thierry Reding , Jonathan Hunter , Peter De Schrijver , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH v1 06/11] regulator: core: Limit regulators coupling to a single couple Date: Fri, 5 Oct 2018 18:36:33 +0300 Message-Id: <20181005153638.1886-7-digetx@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181005153638.1886-1-digetx@gmail.com> References: <20181005153638.1886-1-digetx@gmail.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Device tree binding was changed in a way that now max-spread values must be defied per regulator pair. Limit number of pairs in order to adapt to the new binding without changing regulators code. Signed-off-by: Dmitry Osipenko --- include/linux/regulator/driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index a9c030192147..a05d37d0efa1 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -15,7 +15,7 @@ #ifndef __LINUX_REGULATOR_DRIVER_H_ #define __LINUX_REGULATOR_DRIVER_H_ -#define MAX_COUPLED 4 +#define MAX_COUPLED 2 #include #include