Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp37340pxu; Tue, 24 Nov 2020 17:49:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyeJ5EC936tVKKcH1LPkRc/BliG83T896nw4QzxCwxXCnI7b2mV4d4f3f9R5clrCxF+72Yf X-Received: by 2002:aa7:c4c2:: with SMTP id p2mr1331169edr.371.1606268960558; Tue, 24 Nov 2020 17:49:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606268960; cv=none; d=google.com; s=arc-20160816; b=pmpHdAhSa/PT+gjIPvt93N1zo+/C+m7llBHvfOHCVcI8NRZFYLfvd0ZPsmkZSRM8VW PVgn9m18QDP1l3etuoQxuoa87SDJm/LpmttqjEmyF21g/HLKtyeDylixi+lFAX8UcP+f kTXRAopr2u8+r75wiTKMFXk25y1S17HLpOyfNeLJBj5ZwUCaE1Xh7bGJe0chQEsSQD8V 7MXPzn260xwVd2wAF8FrtOHHJlz1tnauIaRCKa0PC5TOhI5FT5k4UfWQGOFYP2Hsm4b4 a71ZnoOx5uceG5iazRoaJ59CT9rkL4MAtiaSMuqmP8sqo8NZLbL+znJyaEzOpJMNdsqj O8JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:from:user-agent:references; bh=3buKVFow7qLOKnxo03/x+Z9zQHhmNzYw1a8xWwz4K/M=; b=vv3R0bL0ItaRjxrIoirbhPZil8uVGqPJZU9ethyMHv0/pOAixD6rUMFH68Ty6xtsuU hFIAur5hX5zbdMRDBTu9gmezk+eXtOykuRynTfmemJk3BL1Q972eOhDd6b7rQ8SOBWjm QOJr0MKgDVjq8chhKyL2DDXqsWZX35ewh8uYZ0E+/U3dNPD9UrwPQhEZh3NMyDAxO9AR LeaWGEk9dPRXARD5YmfrS2DnHAeeeWrfMnFANIV1xoD+Nus6EFesX+BjGIqwbzuMafdT JnngLpTZzIvTWPLYIbmleIWBmJo1j3SH16e2ruSkkTyhIxxvlJ5DzvrqPyzMlFij0vP1 taog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id go14si460892ejc.374.2020.11.24.17.48.57; Tue, 24 Nov 2020 17:49:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729229AbgKXFrD (ORCPT + 99 others); Tue, 24 Nov 2020 00:47:03 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:39273 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729217AbgKXFrD (ORCPT ); Tue, 24 Nov 2020 00:47:03 -0500 X-Greylist: delayed 521 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Nov 2020 00:47:02 EST Received: from tarshish (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 4BAD64400C6; Tue, 24 Nov 2020 07:38:16 +0200 (IST) References: <20201124052701.GF8403@vkoul-mobl> User-agent: mu4e 1.4.13; emacs 27.1 From: Baruch Siach To: Vinod Koul Cc: Olof Johansson , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, LKML , Bjorn Andersson , Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org Subject: Re: Reusing DTS from arm64 to arm In-reply-to: <20201124052701.GF8403@vkoul-mobl> Date: Tue, 24 Nov 2020 07:38:15 +0200 Message-ID: <87lferwbzs.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vinod, On Tue, Nov 24 2020, Vinod Koul wrote: > We have Qualcomm arm platform which uses PMIC PM8150B. This PMIC was > also used in SM8150 board and is already upstream [1] but in arm64. > > So, what is the guidance to share DTS files between 32 and 64 variants? > Does a solution already exist which I may not be aware of..? You might want to take a look at Raspberry Pi. For example: arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts: // SPDX-License-Identifier: GPL-2.0 #include "arm/bcm2837-rpi-3-b.dts" baruch > I can think of following options for this, in case we dont have a > solution: > > 1. Hack up arm include paths to also include arm64 path so that we can > share DTS > > 2. Use relative path of arm64 directory and include that (seems not > great to look at) > > 3. Copy the file (simplest but least preferred) > > Or is there a better idea to solve this...? > > [1]: arch/arm64/boot/dts/qcom/pm8150b.dtsi > > Thanks -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -