From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BC0EC63798 for ; Tue, 24 Nov 2020 05:38:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C580F206FB for ; Tue, 24 Nov 2020 05:38:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KZzDSIyx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C580F206FB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=tkos.co.il Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:In-reply-to:Subject:To: From:References:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=idKm4uvlRizdsVBNjNwxd08DE0QUiAo1YYTHtsF+4b0=; b=KZzDSIyxd/tUOFoqna3z/GdiU 6EAUUHdBDgUzug6jPT+8pgmuGxSmegvBjo2uOb6a8pv2m9nDYynjdA/mkNksQWIA4dKG620fDlnIW Qwftm2+5ieshmfwQp8kZSYo2ud6RuD7JKyqZaZXaGVdqlK6/9dCLxOln6Pvh124LZnHj+l7md3Q9x NL4O7ZzRZZGr28yuomr5jb/7pGUigOA1W1+i0Yuon9xb9yQXXERt90cmhznOB5a2X6Y6Pwy3nms2X /Gy0x5w7nXA8GDX6d3DUzpvBecjmiKyJYAG09Rzio5ReOf5i2X6WEyLMrADMdmuoV6HrRm2RDzbUW m+mxXIx2Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khR24-00036n-Es; Tue, 24 Nov 2020 05:38:28 +0000 Received: from guitar.tcltek.co.il ([192.115.133.116] helo=mx.tkos.co.il) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khR20-00034S-II for linux-arm-kernel@lists.infradead.org; Tue, 24 Nov 2020 05:38:25 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201124_003824_801980_5D572FC3 X-CRM114-Status: GOOD ( 19.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, LKML , Bjorn Andersson , Rob Herring , Manivannan Sadhasivam , Olof Johansson , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 - _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel