Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4545546pja; Thu, 21 Nov 2019 21:34:34 -0800 (PST) X-Google-Smtp-Source: APXvYqye7rba8R1ouWsPIXISXeuHARPKLOW0+6mejQWD19NtNZ25SXXuBBpc+vueCdE+lqodJyew X-Received: by 2002:a17:906:9417:: with SMTP id q23mr19954803ejx.37.1574400874771; Thu, 21 Nov 2019 21:34:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574400874; cv=none; d=google.com; s=arc-20160816; b=bGxQbYoLEfT1q6KbhmGW8quV3auX/E2H19gwpRkAwXLXoLV7DH3jln3ByAqoCtpr0J FKcNPwRIT0WBNkAxIHkOn+EFP3P2aEJu3mVduUtULPX2uD1ACAN7M5AEust5JRBXRIqp wfDbv9NebvBEPpr43b0mHFIf7Jtnf4N3O3F65lLi1z+RuiT8GELVGFDhRdbJEhgwmDNm vvG6L8eEJrTaw1xwJbmif1/QmRSxq2HhnkwKmj2zsLM2vLcdmlGyL/mdESJUrjtKWGkW hx4ZHQzJFu0m4huM8gITKK8bGs/0v6Uf0L6qZD3CqlY4eJRhpmgeGpAbKCc9rMsyVzsW ucmw== 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=Kx1yQ2ubEiohF95o6dJ/xu7jQhtpeqgqKSgECbFNwQM=; b=OaxJXL8UBkWYpTufLN0o6W7SWVHTe7ij3SZfIN+9+RnvJksrH8WHd4kjg77opzTMCq Ae0sZV98B/EF63sNkPlLsuDpxeOs85h2UvyFmEHgJhKbJJ9bOcpVDRdTWjkI1VZx7kD7 2Ojx7l2FmTCyRAJ3dByisGuHLR0ZuKBuOBAyfKKsALSwBvWouD2BlwM6+y1boVUyVhS4 yag0HOqfNeEP7id52MI4ypcz+FwfyBp2qA0bQcwYHffoNgkKQHQMaR1Fbnn9hVfnhtxa qiG5P3E82zFu2Mf3TUnYWkHR4LZ02g4hi6Od1RkFoZfJcwaOz6/p8kpRDzqyocn5d4LV aOnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Bm7hmo71; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si3500298ejd.74.2019.11.21.21.34.10; Thu, 21 Nov 2019 21:34:34 -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=@google.com header.s=20161025 header.b=Bm7hmo71; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727338AbfKVFaf (ORCPT + 99 others); Fri, 22 Nov 2019 00:30:35 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42921 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727269AbfKVFaY (ORCPT ); Fri, 22 Nov 2019 00:30:24 -0500 Received: by mail-ot1-f68.google.com with SMTP id b16so5154431otk.9 for ; Thu, 21 Nov 2019 21:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Kx1yQ2ubEiohF95o6dJ/xu7jQhtpeqgqKSgECbFNwQM=; b=Bm7hmo71iYwmnJK1S95rLm/DlUT2s5zRbjXugto1xyu21uN6cEztDamJ1W4uxy7EJN 7p5IsY0HFCXR+mCEfjTjwAGy3Wb8EArljOPhx3rZrxx/2kuz8dgWwOcAiNaLZQM/iVIG JV9V735o1BNC+4JWknKAgGyPfvOpTFZ56Xdk7k3TgDSjVyzgqOvMTdp0VUSE+mZfnwLV dqtjF/RYzEJVIlYV2tQvEA2Sy0Jh91Vnec0PALPc1F8rK3FGNE65Du6HtheDWI/C0ibQ DmjIbaqMICw3mVfvPY3i/PKF7A3lA3CDEl3FImxJKzggG9dRQe7zKtrlCrYo6nK2k3Sq NMOw== 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=Kx1yQ2ubEiohF95o6dJ/xu7jQhtpeqgqKSgECbFNwQM=; b=tzCHGseC9tupPinrrfkaR1hgAgyclBODMHBcwulKGs0DyJyCFx3B1kwrocWc4b2lPT fw5uQq96+ZH4N7a5dZ1jPNPU9zA4u90qjUVvml/CVy5JJYuxeC20ytMtfQ33wR1hC/q5 uFtRFySe/IrFcBHzpykeH4kRuv0Glu2YsG9ysAnB4wjgU/9qC5uo72rIQEaYVzaIU3mw V0FjuZDcbKSCwX1dXBW1AGbqJIJzJkes8PYX9ZqqXJB4k6y3/T4AUR8+kMIMN+wdORgm 0t63JyjHMRtTdOO+632RjxOH1IO2zXad0bKTTNQE1j2BmwAXM+cwFN+UUM9WeB/Eb1MR CBbA== X-Gm-Message-State: APjAAAXWufg8YwqKX2R6L9+QFr0yKJ5IAEQ3gzc+QI5pWFJ09IrROx3x 313bX5B8lle+E/0oDyzMFsy/ogko3I/XDvH+Lb0WLA== X-Received: by 2002:a9d:5d1a:: with SMTP id b26mr9518420oti.139.1574400623580; Thu, 21 Nov 2019 21:30:23 -0800 (PST) MIME-Version: 1.0 References: <20191120071302.227777-1-saravanak@google.com> In-Reply-To: <20191120071302.227777-1-saravanak@google.com> From: Saravana Kannan Date: Thu, 21 Nov 2019 21:29:47 -0800 Message-ID: Subject: Re: [PATCH] of: property: Add device link support for interrupt-parent, dmas and -gpio(s) To: Rob Herring , Frank Rowand Cc: Greg Kroah-Hartman , Thomas Gleixner , Vinod Koul , Linus Walleij , Android Kernel Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML 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 Tue, Nov 19, 2019 at 11:13 PM Saravana Kannan wrote: > > Add support for creating device links out of more DT properties. > > Cc: Greg Kroah-Hartman > Cc: Thomas Gleixner > Cc: Vinod Koul > Cc: Linus Walleij > Signed-off-by: Saravana Kannan > --- > drivers/of/property.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/of/property.c b/drivers/of/property.c > index 0fa04692e3cc..dedbf82da838 100644 > --- a/drivers/of/property.c > +++ b/drivers/of/property.c > @@ -1188,7 +1188,11 @@ DEFINE_SIMPLE_PROP(interconnects, "interconnects", "#interconnect-cells") > DEFINE_SIMPLE_PROP(iommus, "iommus", "#iommu-cells") > DEFINE_SIMPLE_PROP(mboxes, "mboxes", "#mbox-cells") > DEFINE_SIMPLE_PROP(io_channels, "io-channel", "#io-channel-cells") > +DEFINE_SIMPLE_PROP(interrupt_parent, "interrupt-parent", NULL) > +DEFINE_SIMPLE_PROP(dmas, "dmas", "#dma-cells") > DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) > +DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") > +DEFINE_SUFFIX_PROP(gpios, "-gpios", "#gpio-cells") > > static const struct supplier_bindings of_supplier_bindings[] = { > { .parse_prop = parse_clocks, }, > @@ -1196,7 +1200,11 @@ static const struct supplier_bindings of_supplier_bindings[] = { > { .parse_prop = parse_iommus, }, > { .parse_prop = parse_mboxes, }, > { .parse_prop = parse_io_channels, }, > + { .parse_prop = parse_interrupt_parent, }, > + { .parse_prop = parse_dmas, }, > { .parse_prop = parse_regulators, }, > + { .parse_prop = parse_gpio, }, > + { .parse_prop = parse_gpios, }, > {} > }; > Rob, Any chance I get an Ack/Review please? -Saravana