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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 596AAC2D0E4 for ; Tue, 24 Nov 2020 05:45:37 +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 BFD0C2080A for ; Tue, 24 Nov 2020 05:45:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qEgisYat"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="jwUiQnig" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFD0C2080A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nfJ7N82XLgwvhHWXyndCKuIkreYdcxgWnHF/xP/k8vk=; b=qEgisYatRuXP5Ij21KRa3xUAZ kbwyhv1xQX6pa3gbGnEaZnoNq4ghyJxorsA6gu0vu5tom3khfGxiJPToUlTGUhQgZtvK2ObEFhbrT 5I6xWlxEx6LhBDILj9uC4VB6uSZ3lfHrjZemEaSFe2K2xXgboSEHRute0yac+ImfJjO2IcDJtxV/E 6g55jZThKRDujJbIhEPqN3p2aXnRzfgu3uY4EMM6808D1VexTMpQx1BhuWbzccIFfz8M97G+aAU8c oHl0xQrndu2rnPXD1hLXQF2CrUQo6u8UtpoMZWtwhfB53UELruozX2GDpcOWNCagQqsf/l6KKHxAd BPRGAybPg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khR8T-0003tx-Lq; Tue, 24 Nov 2020 05:45:05 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khR8Q-0003sm-Dv for linux-arm-kernel@lists.infradead.org; Tue, 24 Nov 2020 05:45:03 +0000 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 Subject: Re: Reusing DTS from arm64 to arm Message-ID: <20201124054456.GG8403@vkoul-mobl> References: <20201124052701.GF8403@vkoul-mobl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201124_004503_288232_BD51A193 X-CRM114-Status: GOOD ( 19.57 ) 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 , linux-arm-msm , LKML , Bjorn Andersson , Rob Herring , Manivannan Sadhasivam , Olof Johansson , linux-arm-kernel 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel