Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp436045imm; Thu, 26 Jul 2018 23:06:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcuFFqzgcj9ht7kxHzW/PVcSd0mF2jQMzngkm+nzu3EpLPntZ8hssSjDdValTleZFQRBAZh X-Received: by 2002:a17:902:aa01:: with SMTP id be1-v6mr4754402plb.296.1532671561355; Thu, 26 Jul 2018 23:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532671561; cv=none; d=google.com; s=arc-20160816; b=kqTwKUx/yow48U23a2r64VPq72VF7yDAqB2PEtBo+GQKgdGSUZNrL7WQurZ4/bhb4b y6LK2lBfShYZ/BK2uy0cTsmOy9mfEKAi4mQDOuZAQVY/9Iow80EexOmrUGCTJAva0LyB m9pP9jXMYSZzNi5CdEYwbVWsCgeTQuvhX7Q2fFV/EDetuaKoVCvEls4luUVfDg1gMbPx TFgsr0IU1bJkqOcRVjSxHYSAanA1cgRbN4sYYOQ9YEBGr8O5EM2Y0/Fbp5KmRUD0E/hr haLDm9eFt8DIFoe3eoS/uiJCpnaJkYT6kaHYyCOoOyabpsD38M0Zdu0NG0HcZLKPP6kA T/fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=2QBp0gumFG3GnpvUJ2wSEz1AklSSPCMtMUSefGdk3xs=; b=XlhVq4idbIagvOwkfqUlIYDRhzG6dx6PBy8CasD/nFn/U8D1NSt+I+sroVjGfcCA0p tUiODoS9nfGXsIqFZBzJwpyI8bhNkEAcTHKpXuTFjjGse6fnIf0DPdwys+66omm5NZr3 bZj287VhqHOQfX3MT1Hptv5BCOFAO1B5A0tsHLwdMSC6V7uWlfOvc6WYcYwc9CzkDzi1 LC/7gr+bIV9G03YCB+Bc5+0DQQrbkpGrQhQj8CX60KKFYF/K/J0lieovi66vpffK0Ync mjNfM7r2jXNR5JI1CRDrSWOHaI9t0HZqszlX4Rp5p4oJUoQWL3O15J90uNPhw0NDlZTk lR9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K1P6JJ1s; 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 k6-v6si2817620plt.111.2018.07.26.23.05.31; Thu, 26 Jul 2018 23:06:01 -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=K1P6JJ1s; 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 S1729432AbeG0HYN (ORCPT + 99 others); Fri, 27 Jul 2018 03:24:13 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41434 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbeG0HYN (ORCPT ); Fri, 27 Jul 2018 03:24:13 -0400 Received: by mail-wr1-f66.google.com with SMTP id j5-v6so3837556wrr.8 for ; Thu, 26 Jul 2018 23:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=2QBp0gumFG3GnpvUJ2wSEz1AklSSPCMtMUSefGdk3xs=; b=K1P6JJ1smjf/TVKBouohOVH5k5amJmT8oanA8KP9vzV8TsHZUK0XraZsdBBElWSOMR vs1LG36vtNz1Q1XWnVgjBSs2H5LbQZpzx1cbEGgcilcwBkGVrKWbMGS2/7Z5QvRCZwxK 2fdQBwYTqhFMBG1wmJJlerE7Qcsl0GCukknc0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=2QBp0gumFG3GnpvUJ2wSEz1AklSSPCMtMUSefGdk3xs=; b=ftKkb/gyPA4qLlFQQEgdeFQ1yhyXUxkH2zGq29hgca68zydthRDUkYoA+VLZzwhCC9 ZvfuX6nmG9ZiA4tEnUF6pvZ4Y+16fYn61nbr9mXSK/9Moy7ijpjaImSC/ImVEFW+E4sl XObBovn/OWkaADQMPuHBJm7SZ06lM/ovluRIuo17U1kgd059x3/biXjjzJdxoj8e6tsT pA+Y4WHB5toSCWqhk3Aun30lxFzQiG/G299RDjv+BMXQBmqOsHk3yi6ZiM02OzQc86AU KLnkQrF6GJjNQh65HlBNrVy8BhcRGJRqaQOuriC+g7lAmcauD2M1oNbgE+ATmD6vIjpT OfcA== X-Gm-Message-State: AOUpUlHRhDMhGYWEDNASVDAFKHWL+nBujkvE8YKFW3PjtVRIH5d//t7L gmPmWaKT53k96Jy8gDmj50FlyA== X-Received: by 2002:adf:959a:: with SMTP id p26-v6mr3575027wrp.202.1532671437416; Thu, 26 Jul 2018 23:03:57 -0700 (PDT) Received: from dell (host109-153-79-7.range109-153.btcentralplus.com. [109.153.79.7]) by smtp.gmail.com with ESMTPSA id 133-v6sm5055928wmh.27.2018.07.26.23.03.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Jul 2018 23:03:56 -0700 (PDT) Date: Fri, 27 Jul 2018 07:03:54 +0100 From: Lee Jones To: Neil Armstrong Cc: khilman@baylibre.com, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: meson: Switch simple-mfd and syscon order Message-ID: <20180727060354.GA4628@dell> References: <1532614438-7207-1-git-send-email-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1532614438-7207-1-git-send-email-narmstrong@baylibre.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Jul 2018, Neil Armstrong wrote: > The order between "syscon" and "simple-mfd" is important because in these > particular cases, the node needs to be first a "simple-mfd" to expose > it's sub-nodes, and later on a "syscon" to permit other nodes to access > this register space through the "syscon" mechanism. > > Signed-off-by: Neil Armstrong > --- > This also has a consequence for U-Boot since the U-Boot DM is much simpler > and can only associate a single device to a node, thus here we want these > nodes to be an mfd bus to be able to probe the sub-nodes. > > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index 6adc8d3..3f0de9d 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -342,7 +342,7 @@ > ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>; > > sysctrl: system-controller@0 { > - compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd"; > + compatible = "amlogic,meson-axg-hhi-sysctrl", "simple-mfd", "syscon"; I must profess, I haven't looked at the code recently so can't really comment on the semantics - I'll leave that to Rob et. al. However, if the ordering is important, you should add a comment to prevent anyone re-jigging it or reverting the patch for some reason. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog