Received: by 10.223.185.116 with SMTP id b49csp1802739wrg; Thu, 15 Feb 2018 01:40:43 -0800 (PST) X-Google-Smtp-Source: AH8x22487C8gmXKWfa1Xzlu0/4iUpzco1oi0VzbcdKhVRVdfHkvuGrMOMqhHonqCV+b3Z0zBwhDh X-Received: by 10.101.85.15 with SMTP id f15mr1700563pgr.153.1518687643517; Thu, 15 Feb 2018 01:40:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518687643; cv=none; d=google.com; s=arc-20160816; b=Vyc0UJl0oQBmH/12tndWy1mIMcY/6UEs9oJdC50SvqlTeRprTPJdLon3H9yqrFztsk 0F1Hbb+RgxmkV7m0mzXAiWFGBhlYWIVyKeGX/GXes/bYfwRtO9SJL/2ItYQdn+za6j1P cwYRiORWpkQGvzImfbCtZqc54DTibTmxDum823ih+uoZU7TMRTd2p1fNxA6JHI3kTDv4 Dpw8WDjvcCUiaJGOh9DuY5OPSfc5DgdiGWIi23i+pIsXXMAKPqZ/L39+w9xrUvWR7GkW AQMrQYSdBVgvdTadvgAS2lShkfWEUX7XoZZswKkhHh3kxGykRTLhAby/+6BkeHHuN52G LUMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=exf6RCRbcVKCDrAaVq1Ar9SqB/iVE+iul+NuupCnxWs=; b=acyFuu29wwPmspTRzFsDyY3QVVHCjuLNIiMLCXw9GHdmFA4k92EYmRyKYVpqtpWxYg 4jOpky+0V9uCpxV06/RM00SLOF+Cpzvxnc4h/bFmi9Ax479hcD1kCwPiD6xeDuUATWEU +HIddrcPbLBaOcGfDn/O4fu3bprtPGYFfGw6g6hqJ4BP9p3x/UuejnYbz5lJUx3buvRB pwqYWAJK/PIN3yZhVdf39KmxC26oyb53qWirXBUgwci5AM8b1tbVoa6JUqfOdyCvqv6M faqJSDU2MBgc3VAYQ2Zlc8MWNJ94Bw10RHeATZ5G7fhnZPQ11sZrw60F1Ob8iwPdSnx8 ylGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=HWTZ+zxf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si1072967pgo.110.2018.02.15.01.40.27; Thu, 15 Feb 2018 01:40:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=HWTZ+zxf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755228AbeBOJjr (ORCPT + 99 others); Thu, 15 Feb 2018 04:39:47 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:38657 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159AbeBOJjm (ORCPT ); Thu, 15 Feb 2018 04:39:42 -0500 Received: by mail-qt0-f195.google.com with SMTP id k13so11124719qtg.5; Thu, 15 Feb 2018 01:39:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=exf6RCRbcVKCDrAaVq1Ar9SqB/iVE+iul+NuupCnxWs=; b=HWTZ+zxfg7jhqbzVvt6x8KCJDw+KRenarAInHGRy9GUzKEVRaISA38Ih9Eq+y8drJM g0Dwy2g82sYg4VfVKkJ96O/gkEmGMZGNhiWo8qs27KNWjeSxQQxEbz2oYc2+wOSMPhbe riGVr8CM/l0eBptEKJK6SWpf+EWTOu4lZAWJydvrF/c+NV0kvDGyHqOwiSmBRQu21gaR 0WJ9ekQQqHgiCMVNsn4oIR/UAwnmEoDWxV3c51i/vGBqx1gt1y3vuaGEPK9i8hpK2HQ9 I+wPll8Pef/BOlpd4l1d8EVJ8FO63/BZQGBeFyaX3Z0XyxbAbDMb82ct1by8FAvg+SNz LMxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=exf6RCRbcVKCDrAaVq1Ar9SqB/iVE+iul+NuupCnxWs=; b=VwQmwMX/l62mdVhRF1K6GwNktzI5gNHBxZgKtUjayukmbldV421O2WBdcTURuzYoq/ Mdq5ZX+R/T9v/kF+slXUDtz/hnLKc9ET3myloJYnpNxeNRSMA+KrxQ53UZdlrQYZV8Hv SLWR6mTF3QJpSTHRDtAKJHXyUfnHQXWc/A7zD75Ce9Zm/C9EMMUlsa1qo4+PSqn0gaFw GUEDxQI2gzOEAvFV6NClHBL49ZyL4ji/gUN1pNIlOcS1mjbveET9v8NaWRH+rLd9v9Yi Lm1Cm78tl+tkiDWnr3Hxmf3xysH+7x2z66fQzuQlqjBjrsaQxNomS9caSCVu8K610Uth 2HcA== X-Gm-Message-State: APf1xPAritb9GeI9m6tdZ6LmY/ebIGVTVFtp5lc7On3opVel2tUgw8tP lsUry8P5ueQCQEY4yn8t/5KzAwyBamHh26zt0eM= X-Received: by 10.200.81.215 with SMTP id d23mr269601qtn.272.1518687581818; Thu, 15 Feb 2018 01:39:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.219 with HTTP; Thu, 15 Feb 2018 01:39:41 -0800 (PST) In-Reply-To: References: <1518532988-10990-1-git-send-email-harald@ccbib.org> From: Geert Uytterhoeven Date: Thu, 15 Feb 2018 10:39:41 +0100 X-Google-Sender-Auth: 5ateWDLJz-FVEnLoZyCcSv_DIIg Message-ID: Subject: Re: Applied "regulator: dt: regulator-name is required property" to the regulator tree To: Mark Brown Cc: Harald Geyer , Rob Herring , Liam Girdwood , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 14, 2018 at 5:28 PM, Mark Brown wrote: > The patch > > regulator: dt: regulator-name is required property > > has been applied to the regulator tree at > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git > > All being well this means that it will be integrated into the linux-next > tree (usually sometime in the next 24 hours) and sent to Linus during > the next merge window (or sooner if it is a bug fix), however if > problems are discovered then the patch may be dropped or reverted. > > You may get further e-mails resulting from automated or manual testing > and review of the tree, please engage with people reporting problems and > send followup patches addressing any issues that are reported if needed. > > If any updates are required or you are submitting further changes they > should be sent as incremental updates against current git, existing > patches will not be replaced. > > Please add any relevant lists and maintainers to the CCs when replying > to this mail. > > Thanks, > Mark > > From 4b75291621830acad2c66a1d21d7840a7ca169d3 Mon Sep 17 00:00:00 2001 > From: Harald Geyer > Date: Tue, 13 Feb 2018 14:43:08 +0000 > Subject: [PATCH] regulator: dt: regulator-name is required property > > These two drivers fail to probe if no name is provided. For details see: > https://www.spinics.net/lists/kernel/msg2457515.html > > Signed-off-by: Harald Geyer > Acked-by: Rob Herring > Signed-off-by: Mark Brown What about using the DT node name instead, as is done for single-output clocks? > --- > Documentation/devicetree/bindings/regulator/fixed-regulator.txt | 1 + > Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt > index 4fae41d54798..0c2a6c8a1536 100644 > --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt > @@ -2,6 +2,7 @@ Fixed Voltage regulators > > Required properties: > - compatible: Must be "regulator-fixed"; > +- regulator-name: Defined in regulator.txt as optional, but required here. > > Optional properties: > - gpio: gpio to use for enable control > diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt > index dd1ed789728e..1f496159e2bb 100644 > --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt > @@ -2,6 +2,8 @@ GPIO controlled regulators > > Required properties: > - compatible : Must be "regulator-gpio". > +- regulator-name : Defined in regulator.txt as optional, but required > + here. > - states : Selection of available voltages and GPIO configs. > if there are no states, then use a fixed regulator Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds