Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp546800imm; Fri, 8 Jun 2018 00:55:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIxptAp1xjTW8s4rqIcG5FRouXUIbVDhkiLzgSrI76a5v2C2mNZhpzmpZFNlMwcXXuJYJDi X-Received: by 2002:a17:902:22cc:: with SMTP id o12-v6mr5662227plg.38.1528444539997; Fri, 08 Jun 2018 00:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528444539; cv=none; d=google.com; s=arc-20160816; b=PA18Kpva94tzfmKY3YSMdy080qtJAFz1lFyFCdcBofQFFrXcswxZF0REN7pxaQQsGI 1iuJ3wC7rixuKHIWbb6TXk+Aus+b8tUSH8LRMB9assgg4F3BMOJKRtGAFCF/cMZz5pa4 u7WnWnJlP/d7a2QvfPFQ+CFR8i9Wb8bnUy0tvddLmrPCsJZf2TDYD1sX3qfP6XbaRKc1 yftOoQI/+65vpew/1Z65SwfUAGdOfv/i5Cia53nh7knxyRJaBiEASfWUCU8d8H/CfPtY O2nE7bfTQANdc1oJmLLmhqNRCb3nqLX/dwI1eAu6eAFKH0JvOVGyvDpxPqWPUdATzVKf OPRA== 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=02YJLiTn1K93elUCyc2Dx+YeI9TZ30xum1zNOs3yZq0=; b=ck/7ZJEUSRZRCegU2JO9XKu3l7GgiflmBKG7gc8cFck7jvQ4jwK8BMZZkAK6ez7lR1 +u1M7GAY/2L4T5dgJ6djJOLwGtIviAtzINgTNHE3WnmnS/SsyZ8bwBXTRHi0lmbHMe9H EEq3sMOLNLAifiUFP3eSP4C7q6QJmxCeDKGTO860lrQpWJJ+X6r8bdNOGgrOLrtf46cR X6vpwUpexpQcoc/sbBiHRvGZt/XSARlgueD7bcUVc0DiaERuQdAuHmdVW+7xwmCE8G6V 845FGIc/c0LQW9ElldKAGD2tVAtzaDXBpCTQHojDYgKbQfGy7wM/ZnLgzffBV5rtniK6 OKeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YyK13+QJ; 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 r5-v6si44577629pgp.379.2018.06.08.00.55.26; Fri, 08 Jun 2018 00:55:39 -0700 (PDT) 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=YyK13+QJ; 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 S1752650AbeFHHzC (ORCPT + 99 others); Fri, 8 Jun 2018 03:55:02 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:35399 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140AbeFHHzA (ORCPT ); Fri, 8 Jun 2018 03:55:00 -0400 Received: by mail-io0-f193.google.com with SMTP id u4-v6so14917732iof.2 for ; Fri, 08 Jun 2018 00:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=02YJLiTn1K93elUCyc2Dx+YeI9TZ30xum1zNOs3yZq0=; b=YyK13+QJ03hnFFlfEr3HHLfE7uI8p5doYtof5twWvGY6gtI58H0PIsYBFlsVfypep8 M/S9U9uIzRXlvg3CHGEN7qanFvAqUQn2axvMPXS1qQhs2MzrvK5WhZGdFnUjK4zIaAhh VOpIL7Eztyj9A5vZxovCeY3VMLPH9jR2Wdp3A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=02YJLiTn1K93elUCyc2Dx+YeI9TZ30xum1zNOs3yZq0=; b=DliHQLi5G6eSja7HmGdgMjg311dJQunI6g317SCtCii25iG8cbEMagAueJMFENMqF9 Q10E7VcSrCKNb09a0MnPHUDVug0cvUEPlVbeg7i5Xwl7PhVSE+OSe7Ebn2nZyy7sIZ4f wWCdi5Jf8NS2dGuKrdDxM+hBHiyrPqZzOdjUxh3WQMzrgwv4cOq8lfPgEXj43izM+ajW /cu1aAebzUQ8P5zmcLzXIWkbZ7fDo4/ajTIk2P0ZVRC9GsO0He7/bcHpff5uMqfMQroN TvJAYbvnAss1JC5mv+X1o/LO0YuzNxx4c4rjOM6xWjOuQhFtpo7CP2K1vQYlDA4BoAlS 0xUg== X-Gm-Message-State: APt69E2CFZoUP65EBSK/TqucIu6B8iQHQ/CJb6/FRuks4y93ygrOTXTB UvMI4OimC+7PY1q4YisSojGJNRjk8RitSszo12b1dg== X-Received: by 2002:a6b:8b91:: with SMTP id n139-v6mr4247996iod.109.1528444500095; Fri, 08 Jun 2018 00:55:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:78c9:0:0:0:0:0 with HTTP; Fri, 8 Jun 2018 00:54:58 -0700 (PDT) In-Reply-To: <1527737273-8387-2-git-send-email-djw@t-chip.com.cn> References: <1527737273-8387-1-git-send-email-djw@t-chip.com.cn> <1527737273-8387-2-git-send-email-djw@t-chip.com.cn> From: Linus Walleij Date: Fri, 8 Jun 2018 09:54:58 +0200 Message-ID: Subject: Re: [PATCH v3 1/5] gpio: syscon: allow fetching syscon from parent node To: Levin Du Cc: "open list:ARM/Rockchip SoC..." , Wayne Chou , Heiko Stuebner , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" 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, May 31, 2018 at 5:27 AM, wrote: > From: Heiko Stuebner > > Syscon nodes can be a simple-mfd and the syscon-users then be declared > as children of this node. That way the parent-child structure can be > better represented for devices that are fully embedded in the syscon. > > Therefore allow getting the syscon from the parent if neither > a special compatible nor a gpio,syscon-dev property is defined. > > Signed-off-by: Heiko Stuebner > Signed-off-by: Levin Du This patch has been sent upstream for v4.18. Yours, Linus Walleij