Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp3829529ima; Mon, 4 Feb 2019 05:59:27 -0800 (PST) X-Google-Smtp-Source: AHgI3IZfQ822IbTBUJP0OlGjtvBImA/ryb5d3FUHqmR9kaSVuQ5s7SlL22lkgoVePiJAK9DzuCoh X-Received: by 2002:a63:f844:: with SMTP id v4mr12870709pgj.82.1549288767339; Mon, 04 Feb 2019 05:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549288767; cv=none; d=google.com; s=arc-20160816; b=NkgMVrld/g9JAg0uY9fDbas8hhpai9BVSloCnK1IkvK+R+m6Vu5w5MmA32selRbkZ2 TmG3ckAMnpCkJ3hObxzzgyhHTaLBW59R85CLyzLSBSStjQaKN2/CjKuw11WfBjxcfQNW Ot/lSQc1WkZikL9eTnzxCZBqIc7xmNUAf3OBazGsRbFzpfCoPKZhBgQvFtTj1KiuYPM7 jCFYumLujLXE/7tExOZtnfKqc2hyXyRafrSGexiae/nVWxo6KHmAecYt1HzoVfYOaoPC dgz5a4faQmEQXDny+KPqx8AQIK0ja04HN3Ds/NKIOUWJoPMIVB4f+JSbrAaKNlEaQ5VC 2Rlw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=wRYfuP7oYobYTBvy6aIr+v9XulGm0xPZTNCq3iUqj+k=; b=C2GqIeO2PiiVOkxF1j9JMpg/E5aSUz/9F7EK25JJ62hGqwEc5z2mWzQV3I+GKIJsMU D+f4u14dZEcSyEzxRwydMzc8mBSpO0PrlXYmWk37rNJzLmBHJ3+E2enwjIran2EGuQd+ nxDLp/FlMLPADUVtHEsiEAsjbwA5c7f4TcDaS75GgnMj6wGm6cBotn4TQrN+2Vamr8BX ZtuusD750IqWmQCo2WmY2ub0ZJcsWVxOJZf3D1Ru5v7t7dBImFrSpq7/TPrHB9zHoXQ7 +9svGGkDfdbJnERKXSyLQfThCW5aDatO1NO1zCr+npkJjRLeC5ixc48W3jAPv3/2ZO/a IZkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OyoJQUVl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m15si153642pfd.3.2019.02.04.05.59.11; Mon, 04 Feb 2019 05:59:27 -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=pass header.i=@linaro.org header.s=google header.b=OyoJQUVl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728469AbfBDLZ5 (ORCPT + 99 others); Mon, 4 Feb 2019 06:25:57 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38532 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728160AbfBDLZ4 (ORCPT ); Mon, 4 Feb 2019 06:25:56 -0500 Received: by mail-lj1-f193.google.com with SMTP id c19-v6so11216703lja.5 for ; Mon, 04 Feb 2019 03:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wRYfuP7oYobYTBvy6aIr+v9XulGm0xPZTNCq3iUqj+k=; b=OyoJQUVlHhFQSKp34oawUzjkkJD20j0DGfRc8AUsiwOh6L47Iq47rbho1DAC6JojOK 8mdMAyYBzAuUpKy5aCmpgsA/pGdfSIm2Bwhu8w0vxuDCrVE8Y6nyXLMFaGqgCVZLxapX z3iL1LeErLJ6w5QXPD21yv8wYjA1U8A4zy8Y4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wRYfuP7oYobYTBvy6aIr+v9XulGm0xPZTNCq3iUqj+k=; b=P44Z68UL8bbeA0AbJn+ysVEogeH9PfyEdNFNRoGwIpenhSBJBoDW2tzKM6U4JSDlzg 7T4I2Eys3MUUkrksvv7PwWOioeHTZpjn2VzL1IJgK9h3FhPXoDt9+puzT1t6IUUgIjlo sIBs+JIetUojEtXKfEBwdXrGNDqkOLIx2rXbwH1OrZV54oUBIFxYYQHunzpJkBdmluBF MsV3q47WNDlL9nJttUVxAxM+hGkpPykhULs3SLgD98IwDidUAkJPCy3svFDj33lD1OS2 qjHdf6Pibpnjj+ZStOyVhpoyt6IV8MQ2BN/xgXKpeHena9qRO33bhm7TFiP083gmTOig SWWw== X-Gm-Message-State: AJcUukf3LoHxbtPQg0kizjHP8g949yMoY0TTDlLw16DvnW6p+VLIKUhI J3xSz6UXA14555xP8C5rzYR2qt9njXN7IIZPmX495A== X-Received: by 2002:a2e:9356:: with SMTP id m22-v6mr39242047ljh.135.1549279554049; Mon, 04 Feb 2019 03:25:54 -0800 (PST) MIME-Version: 1.0 References: <127bd8d6765e35272ad174c59838d1374813c910.1548935790.git.matti.vaittinen@fi.rohmeurope.com> In-Reply-To: <127bd8d6765e35272ad174c59838d1374813c910.1548935790.git.matti.vaittinen@fi.rohmeurope.com> From: Linus Walleij Date: Mon, 4 Feb 2019 12:25:41 +0100 Message-ID: Subject: Re: [RFC PATCH v4 06/10] devicetree: bindings: Document first ROHM BD70528 bindings To: Matti Vaittinen Cc: Matti Vaittinen , heikki.haikola@fi.rohmeurope.com, mikko.mutanen@fi.rohmeurope.com, Lee Jones , Rob Herring , Mark Rutland , Mark Brown , Greg KH , "Rafael J. Wysocki" , Michael Turquette , Stephen Boyd , Bartosz Golaszewski , Sebastian Reichel , Liam Girdwood , Alessandro Zummo , Alexandre Belloni , Wim Van Sebroeck , Guenter Roeck , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , linux-clk , "open list:GPIO SUBSYSTEM" , Linux PM list , linux-rtc@vger.kernel.org, LINUXWATCHDOG 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 Thu, Jan 31, 2019 at 1:04 PM Matti Vaittinen wrote: > Document bindings for regulators (3 bucks, 3 LDOs and 2 LED > drivers) and 4 GPIO pins which can be configured for I/O or > as interrupt sources withe configurable trigger levels. > > Signed-off-by: Matti Vaittinen (...) > +Required properties: > + - compatible : Should be "rohm,bd70528" > + - reg : I2C slave address. > + - interrupts : The interrupt line the device is connected to. > + - interrupt-controller : To indicate bd70528 acts as an interrupt controller. > + - #interrupt-cells : Should be 2. usage is compliant to the 2 cells > + variant of ../interrupt-controller/interrupts.txt > + - gpio-controller : To indicate bd70528 acts as a gpio controller. > + - #gpio-cells : Should be 2. The first cell is the pin number and > + the second cell is used to specify flags. See > + ../gpio/gpio.txt for more information. > + - #clock-cells : Should be 0. > + - regulators: : List of child nodes that specify the regulators. > + Please see ../regulator/rohm,bd70528-regulator.txt So if I understand correctly, the clocks and GPIO does not spawn any child nodes but are attached directly to the MFD node. This works! Acked-by: Linus Walleij Yours, Linus Walleij