Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3779394ybl; Mon, 13 Jan 2020 02:28:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyjVAgVVt/6/B/KCEQjiixhlRRbUTbOTSbVObktQGbnGNAo7P6gSyDc+l0GwlZHWSqPH62N X-Received: by 2002:a05:6808:251:: with SMTP id m17mr12158811oie.15.1578911305576; Mon, 13 Jan 2020 02:28:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578911305; cv=none; d=google.com; s=arc-20160816; b=RLJoAjez3hd9+tzdJENZP12b+nfFglj21kMn6QRVluXaUyNN9uRBKpN59srgX4Nja+ mK0wR1CSThI86lXd03JYZ9ne+V+/KJf/WY0P3ub/DOmFDyaiY0YGH0OsmIVi5kktehiy JUSDXM4JeWGFGKJbgbycm9fjxdjR07px4szZdvguULAcFenoKZnBURdbmKkSiWwYg517 kawFFvHHl+5mmtOkTDHz7bxNckjnDUjSWG0oT+dOy795YpWdx4B8T/YOF3l84ASq6M2t ymt1Z/joIqHcHTtw3k98ntM7SeQZzny7okN6p2LZeW/m81q+xsiiXHuW9B+BZT5nr4gb V52w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=X80gKWFPLy9fL/Q9fVgpNPhDKmwuNsBijdw7PSj8/IQ=; b=KMhKxfxxf0j9CkUPwgha2AZmFpm7j16B2am3rGAKMbICO3HW3cG8ee0p/w2OeTeHBH JmIt0wM8j0krjlGwf3BZJGxAthLQ13BJXHY+gEqqT2sSBzZ0h5HNAOCtsebPbMGFOzZE Pk7Pa7M3BOCuO8DsoWyEO95Bv/8axRSZo0qGAxLOV/FdH2RVF3WmzhqPYWpWKaU/YOau wUhlgC/l6D0jj8OjkWamHSaO/lQPDmlsNEvyPcOM1fHmyoDY6f5+TYP8Qv3l0ic5Ay+B hSxFzdAW6knhM7SF0ytSQ2KIeJdfio1fPicb0klUslOqg+aAY0cnAMczdydWE7KQlj1y TkYA== ARC-Authentication-Results: i=1; mx.google.com; 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 q72si5832720oic.18.2020.01.13.02.28.13; Mon, 13 Jan 2020 02:28:25 -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; 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 S1728670AbgAMK1T (ORCPT + 99 others); Mon, 13 Jan 2020 05:27:19 -0500 Received: from foss.arm.com ([217.140.110.172]:37190 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbgAMK1Q (ORCPT ); Mon, 13 Jan 2020 05:27:16 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6570413D5; Mon, 13 Jan 2020 02:27:15 -0800 (PST) Received: from [10.1.196.37] (e121345-lin.cambridge.arm.com [10.1.196.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5AC473F534; Mon, 13 Jan 2020 02:27:14 -0800 (PST) Subject: Re: [PATCH] arm64: dts: rockchip: add reg property to brcmf sub node To: Heiko Stuebner , Johan Jonker Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org References: <20200110142128.13522-1-jbx6244@gmail.com> <2116127.mXfZQK7onI@phil> From: Robin Murphy Message-ID: <6159eaa4-4729-0c3d-0967-e855e2652772@arm.com> Date: Mon, 13 Jan 2020 10:27:12 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <2116127.mXfZQK7onI@phil> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/01/2020 9:26 am, Heiko Stuebner wrote: > Hi Johan, > > Am Freitag, 10. Januar 2020, 16:40:24 CET schrieb Johan Jonker: >> Hi, >> >> Question for Heiko or rob+dt. >> Where would should #address-cells and #size-cells go in the dts or to the dtsi. >> In case they become required in a futhure rockchip-dw-mshc.yaml? >> ie. Should we patch all XXX rockchip,rk3288-dw-mshc nodes with them? > > I don't think it is a required property for the dw-mmc itself, as only > in special-cases do you need subnodes there. Like emmc and sd-cards > are completely probeable without needing further information and > only the wifi/bt chips _might_ need these. > > So I don't think that this is a property of the controller itself, but te > connected card - hence should stay in the board file. Indeed, and in general dtc already warns about those properties being present unnecessarily, e.g.: arch/arm64/boot/dts/rockchip/rk3399.dtsi:1812.27-1847.4: Warning (avoid_unnecessary_addr_size): /mipi@ff968000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Robin.