Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1396608pxu; Mon, 23 Nov 2020 21:47:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbH363kDg/MoWaRt45rfQwbDhhqkSj2B/YRX8A4HeTkndTnD/R9xD5Req4K+nfGaOP702U X-Received: by 2002:a05:6402:1456:: with SMTP id d22mr2357303edx.77.1606196845015; Mon, 23 Nov 2020 21:47:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606196845; cv=none; d=google.com; s=arc-20160816; b=yHF9x6SoMxtw1c3xcbSar6HrqAfAnR8fPlaMeAJpB5KmSxssrklro/A5XGfIWK5NY7 dod2U31s9wRHTXxZJOfYoPsh5IuAaIGu9mkAX6adH1TZnGB0+uWm3jPsY6ODcT9fGP8W xhfI+WdbMxODavJRt7/BdUbwvNQnrllzVOwQO0fSLWy/fcmfftbwXbyGrrk2V3anidnq mp2UPgXgeGrgaPyObMOAFJ1aRiSq1uPwiLdOhF167fjwym/3BU1TX+B15GgiHitiKqOF baez+we0nNqFCuGtJBMF2CxEOHrpZ69UpMp8NDCC6dAkpdnVRx2qPJMUCCSmqzpEjqWu foJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Sb/M2dPFBgdWpJ3URv2pZvEjVdIvNepvkgAE8PL84hU=; b=iFpZpjeImEGTabpr7jbEQGAMujbfL0C2XC9FcJ308F6ItCWjAXx7VfultZtC4InUBQ c7QqVcXVgJcCDmZiZunMIQmYdMxY2gQYmI87x9J5qg4Ehhr6lyRVSw7DrbX6IRr7zBk9 Nw4EsgzyeNZTvpJlugfxjBJ0pKxgdGovSM62mRZ1iHZltHC7FdXmiBddU3HRQ2hB/AKu 65hVSUsFUDr4AmploUyS4p4DZah2VyE0FMfPuD2Yt9ZverVw22reazp1TDQ0xg29Jc0H l6LxSaq3ecg/Gn4kLTR/yjbppE8Ud36fX2LdTe8LoxVmda4hUsySbHjlZpgFHoPr6Wh0 CFCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jwUiQnig; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si7955021edc.249.2020.11.23.21.47.02; Mon, 23 Nov 2020 21:47:25 -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; dkim=pass header.i=@kernel.org header.s=default header.b=jwUiQnig; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729085AbgKXFpC (ORCPT + 99 others); Tue, 24 Nov 2020 00:45:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:56288 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728905AbgKXFpB (ORCPT ); Tue, 24 Nov 2020 00:45:01 -0500 Received: from localhost (unknown [122.167.149.197]) (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 4361D2080A; Tue, 24 Nov 2020 05:44:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606196701; bh=Nayo1hcCvrxVay411tIx/sZm6mAiGdjXgzpc7xcMTQc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jwUiQnig9GNjy6S/gigjZq3ipnFjSA6V2IqJg+NXPnrQG5kZ5UyIB+RZzHFjJiDhV y5imN6nM+crjmOv12RJXlUekAvBngQ9Tnhys+H7mM7qpcxepENyFkxVWmReNsIOvGJ Vd1D0gIL+iW1GsPRj10xDHq2CbDGQnaAqR2sd4aw= Date: Tue, 24 Nov 2020 11:14:56 +0530 From: Vinod Koul To: Chen-Yu Tsai Cc: Olof Johansson , Rob Herring , devicetree , linux-arm-msm , LKML , Bjorn Andersson , Manivannan Sadhasivam , linux-arm-kernel Subject: Re: Reusing DTS from arm64 to arm Message-ID: <20201124054456.GG8403@vkoul-mobl> References: <20201124052701.GF8403@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Chen-Yu, On 24-11-20, 13:36, Chen-Yu Tsai wrote: > Hi, > > On Tue, Nov 24, 2020 at 1:28 PM Vinod Koul wrote: > > > > Hello Olof, Rob, > > > > 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..? > > > > 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 > > These are already provided. See scripts/dtc/include-prefixes/ . > > So just put > > #include > > in your DTS and it should work? It does work, thank you for pointing me to this -- ~Vinod