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=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 298A0C2B9F4 for ; Tue, 22 Jun 2021 12:13:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0DD8F61164 for ; Tue, 22 Jun 2021 12:13:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231261AbhFVMPV (ORCPT ); Tue, 22 Jun 2021 08:15:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:37070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbhFVMPV (ORCPT ); Tue, 22 Jun 2021 08:15:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A87C561164; Tue, 22 Jun 2021 12:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624363985; bh=HMc+AaVlUBL9Fk0wuvUdCoGwd/6UNRyT+datpIwVnPg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s6JtEev0QMm45uy2S0lSdy5ORFgw8gAWVkE1aS1TEoip1UsI0es1avVViPpIDmQ8p QYVPARLHbEqQ5qij5CDxjugEhjxm9WDGAtxdhFHru5ordyp7CYVhAY4Kq4YbdIoA6T 5E9/CHuUsPG9b7plQUHHS7+FGIKmDoWk7k+EVBQVjlBmm1X9m5Ph24nNkEkY4gPKlp Cy+AAi445AHu0N5RtYtD98IrozTbh1080qGO7Vp/hn9MWl8OXL0hRM0h/qJKZMsUf6 RLBgOuYADLEymdnRa9nbRYm2eZ+YbL4vYdFj/uPvi/ZX267NbeJ4UvOuRkRqRclSc5 FEJeOOntxOCJw== Date: Tue, 22 Jun 2021 17:43:01 +0530 From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Andy Gross , Matthias Kaehlcke , Douglas Anderson , Sumit Semwal , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] soc: qcom: geni: move GENI_IF_DISABLE_RO to common header Message-ID: References: <20210618141839.3777270-1-vkoul@kernel.org> <20210618141839.3777270-2-vkoul@kernel.org> 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-arm-msm@vger.kernel.org On 18-06-21, 12:03, Bjorn Andersson wrote: > On Fri 18 Jun 09:18 CDT 2021, Vinod Koul wrote: > > > GENI_IF_DISABLE_RO is used by geni spi driver as well to check the > > status if GENI, so move this to common header qcom-geni-se.h > > > > Also, add FIFO_IF_DISABLE define. > > > > Afaict these registers relates to the hardware block that is primarily > owned by the individual engine-drivers, would it not make sense to move > them all to the shared header file? the GENI_IF_DISABLE_RO is used by SPI and I2C drivers, so we would create two copies. So better to be defined in geni header -- ~Vinod