Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5293671ybl; Tue, 14 Jan 2020 06:40:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyy7Vq/lbnBM5WAIRv1pMN3aLo9lazsH8Uarm7dGpr2XZVcIQ27/2TbHsRb6wysEch7VB9I X-Received: by 2002:aca:5795:: with SMTP id l143mr17261729oib.27.1579012840552; Tue, 14 Jan 2020 06:40:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579012840; cv=none; d=google.com; s=arc-20160816; b=S0FILkvTvrJPOjX90ujlQbhVWQLu3pPXzjaOQylB8MWbKM7VA3S4M09UI338UPQ52S oX/mWed8cj+hMvB0b65lZu1tqTIkKTFgp4mcMvgiltfuG840cQT24F9Dv/8O5Kl0LY4C x8zdVi0FuI3lAliozHVV0FrZeJ+rOvMugiAa3rJWuSSiItSpe0uSiF2X1APFCNXNg+Ln YoB6ogqKWCxKNYkIG0ye9LmUCM3szBCoC6K7slgXvTLxI884WdT9Crt+5EFeDe7XOJ9r 9u4WyQ98qth7+pdwJp9+al3Bhorch1hK0zOnGeHfKwqPeYG3EwuXJ7DmhaTBGmxTX8tQ fXWw== 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=6gvmps0SfqR5PEjQrr8Sm2o1JzVaQNiLmpEDr7mb5ls=; b=vhZ1Ja9k1zqHg/iQUaEhLHpTfe3SO+b1GujtOJjUNm+IPaRR+SgUxqkFEbG5sliPXq 3B2WJi0YVK4aelCWPYci4fknyHSahwuzSQXrjY62QSyjD89hwz4H9DgFblGgUIgViaQ9 6WE2wVgqtHtZ63zIJ0iZkkv9hmNETAQ7JeerXIhtifV2MfsZmgqH/hKrq9StaB9/Ixrz GB+AZMw5c1LnDuDi+KI/glzAC1XlRksPLRpe76WEfcfs1B47hefjBU5+cbAIpaCLMYJF Yr4KiD73ID9D5ixfPv7hfVyie00hz5lizjLFe+QfyX6LksSGuJ6PyEwToktbbkf53y4X DiaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2U3xxpKj; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si7641810oip.277.2020.01.14.06.40.27; Tue, 14 Jan 2020 06:40:40 -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=@kernel.org header.s=default header.b=2U3xxpKj; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728828AbgANOjc (ORCPT + 99 others); Tue, 14 Jan 2020 09:39:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:50318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbgANOjb (ORCPT ); Tue, 14 Jan 2020 09:39:31 -0500 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 318B824685; Tue, 14 Jan 2020 14:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579012771; bh=DkkSSSCcpDI9HeBQHY1IX3M01OsOOAVdyk5wwFtEJpg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2U3xxpKjVAikQnGWGZrNjaxs5Apbhn+ojqeT82/Vl3Q+wQDgqLlpmDMTKg9pEShuB Pz8Zq2N3d+npGfUnohK9Rz+K8OHbYApz8F2lodPqA3EoKHPg5s0qzC6VBOmoJX0UvE a+wZ37ge2JeKn1i4pujDAY5uE6WaQDtsu30JQgRY= Received: by mail-qt1-f182.google.com with SMTP id 5so12646014qtz.1; Tue, 14 Jan 2020 06:39:31 -0800 (PST) X-Gm-Message-State: APjAAAVGPYbmZzjfBG1e69ix8GyFdn8TqS5lSmCpp+uWp+XtZpmY+ZMs BnCnJqJDWQmQG7HXfrIZjIT8wWWy0xx43Q7r5Q== X-Received: by 2002:ac8:6747:: with SMTP id n7mr3886974qtp.224.1579012770304; Tue, 14 Jan 2020 06:39:30 -0800 (PST) MIME-Version: 1.0 References: <1577696078-21720-1-git-send-email-peng.fan@nxp.com> <20200104003634.GA6058@bogus> In-Reply-To: From: Rob Herring Date: Tue, 14 Jan 2020 08:39:19 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: dts: imx: drop "fsl,aips-bus" To: Peng Fan Cc: "mark.rutland@arm.com" , "shawnguo@kernel.org" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , Aisheng Dong , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Alice Guo 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 Sun, Jan 5, 2020 at 8:38 PM Peng Fan wrote: > > Hi Rob, > > > Subject: Re: [PATCH] ARM: dts: imx: drop "fsl,aips-bus" > > > > On Mon, Dec 30, 2019 at 08:58:05AM +0000, Peng Fan wrote: > > > From: Peng Fan > > > > > > There is no binding doc for "fsl,aips-bus", "simple-bus" is enough for > > > aips usage, so drop it. > > > > NAK. The AIPS bus has registers, so 'simple-bus' alone is not enough. > > You mean the "reg" property below, right? > aips-bus@2000000 { /* AIPS1 */ > - compatible = "fsl,aips-bus", "simple-bus"; > + compatible = "simple-bus"; > #address-cells = <1>; > #size-cells = <1>; > reg = <0x02000000 0x100000>; > > But the reg property is not required, I think it could be removed. > There is no binding doc and driver for "fsl,aips-bus", so I think > It not make sense to have that compatible in dts. Well, there should be a binding doc, but whether or not there's a driver is irrelevant. From what I remember, either AIPS or SPBA bus has registers to allow user mode access or not. Something may need to configure those and it may want to use DT info to do that. It's not just Linux that you need to think about. Rob