Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3463509imu; Fri, 30 Nov 2018 00:17:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/WvhKsQ2xDMIGSiaBxpQ0g8EQDuV4pDO4WlKiBltNESY4SL23R0gWf0K/P7d532wtwQV/Mw X-Received: by 2002:aa7:8203:: with SMTP id k3mr4589073pfi.192.1543565849600; Fri, 30 Nov 2018 00:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543565849; cv=none; d=google.com; s=arc-20160816; b=ODO2hWoOD6M6xkNN5juma0xh/58je50DHC4PfBPAgSW1tiIDIn6KTl0vuTmyvzTjGe 0F22KXSJeEZenvgNjqV0gip4uOSLnDIlN1jVJGLOIQJEOzb2Kaai5PrhtxB4S3p41utI PBr6w8fkAW6qKOjpXw14EbSR11sLLIGsZl/l6mnzk4V1b7y2CtDfAgOUNWc2FciBcUFq LjrVbydbAPy173gYwEUP4P51wEU9QW7jwE3qVslV6eH5POwo5z+VAfkXKhh83RxK1/bS Kk9swx/inNXye5WhaOsIaB9pjPcklDa9ROXji1kP5YMcu1HWqZX+mJHGxYJW6Gkz1OvN lkyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=ok1yceQonTllTmiCZ36kbANK44xsjSH32LqRTYvO9Qc=; b=q9zisO1zUaRICd4YxuJVMwuDBA6Zt9mr/KkCf9XpUW1m6KTL+DLyqEMf2+QuP7Xydf T3liPXmFAFjxjThv9aoEUmCyeaenQOX9Bofb884NuDkz+gpdaCYTGDEVSLGDEaK4qpo9 nh7KeJEeJuPjyGfpmvyNoYaX437GYuD0y27H5fa5SehixlF3RVTv+ZZwX9Sv3QI9/1l6 m7kkFLfyq1WCOEjKg+3B6Q4FDOGWlT51YpU4YmM0XJK4W7z7iLk91DcxJRtiYSHjbUbN IJnQB5J8FrXi5wZmaUahjDTIa6RVLLbSEmmKBBLFtw7F4lTX/KQrXBCwmZQycAS3+fzK wAJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fPpvutzv; 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 p15si4362118plq.24.2018.11.30.00.17.14; Fri, 30 Nov 2018 00:17:29 -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=fPpvutzv; 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 S1726887AbeK3TZI (ORCPT + 99 others); Fri, 30 Nov 2018 14:25:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:42920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726459AbeK3TZI (ORCPT ); Fri, 30 Nov 2018 14:25:08 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 19E51206B7; Fri, 30 Nov 2018 08:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543565798; bh=TO0T4SzivIpQeoHDCzPgm4w+v6PSc+ghOTE5fXmyclY=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=fPpvutzv6AwMQy1Lou+YmR74oqGJbrhqB9cNpbEJn8kLBzdKp7QLzC+Md5CaubC4h v6fkO1ysqfP3Nh8fndksxbVi9bfe1b0ybSyHkVqaqe8kBjAglW6Zu3fizBslVRN00s rpLuoLbqDESVckWFCMyu7DMOaSexMjuF9yku1Dik= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "Sugaya, Taichi" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org From: Stephen Boyd In-Reply-To: Cc: Michael Turquette , Rob Herring , Mark Rutland , Greg Kroah-Hartman , Daniel Lezcano , Thomas Gleixner , Russell King , Jiri Slaby , Masami Hiramatsu , Jassi Brar References: <1542589274-13878-1-git-send-email-sugaya.taichi@socionext.com> <1542589274-13878-3-git-send-email-sugaya.taichi@socionext.com> <154337047410.88331.9696178601340675631@swboyd.mtv.corp.google.com> Message-ID: <154356579701.88331.5043467509900444879@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description Date: Fri, 30 Nov 2018 00:16:37 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sugaya, Taichi (2018-11-29 04:24:51) > On 2018/11/28 11:01, Stephen Boyd wrote: > > Quoting Sugaya Taichi (2018-11-18 17:01:07) > >> create mode 100644 Documentation/devicetree/bindings/soc/socionext/s= ocionext,m10v.txt > >> > >> diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext= ,m10v.txt b/Documentation/devicetree/bindings/soc/socionext/socionext,m10v.= txt > >> new file mode 100644 > >> index 0000000..f5d906c > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,m10v.t= xt > >> @@ -0,0 +1,12 @@ > >> +Socionext M10V SMP trampoline driver binding > >> + > >> +This is a driver to wait for sub-cores while boot process. > >> + > >> +- compatible: should be "socionext,smp-trampoline" > >> +- reg: should be <0x4C000100 0x100> > >> + > >> +EXAMPLE > >> + trampoline: trampoline@0x4C000100 { > > Drop the 0x part of unit addresses. > = > Okay. > = > = > >> + compatible =3D "socionext,smp-trampoline"; > >> + reg =3D <0x4C000100 0x100>; > > Looks like a software construct, which we wouldn't want to put into DT > > this way. DT doesn't describe drivers. > We would like to use this node only getting the address of the = > trampoline area > in which sub-cores wait.=C2=A0 (They have finished to go to this area in = previous > bootloader process.) Is this area part of memory, or a special SRAM? If it's part of memory, I would expect this node to be under the reserved-memory node and pointed to by some other node that uses this region. Could even be the CPU nodes. > = > So should we embed the constant value in source codes instead of getting = > from > DT because the address is constant at the moment? Or is there other = > approach? > = If it's constant then that also works. Why does it need to come from DT at all then?