Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5873497iob; Tue, 10 May 2022 05:50:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4nzdis8qD0zx2QydYpqttRqg29BPjaQ/cAuTWVHMVqOCQUAIFOan60H4biK+o7gzNRgjp X-Received: by 2002:aa7:848a:0:b0:510:44da:223d with SMTP id u10-20020aa7848a000000b0051044da223dmr20566036pfn.66.1652187028347; Tue, 10 May 2022 05:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652187028; cv=none; d=google.com; s=arc-20160816; b=g5lXWCrF4xkH5QVB55ELgHlKiYYT/t2GH6hnFRToYOfly/PMPsPiuNOYEL02yKqmaQ U0uBigsTR4k4MHz1h3yufDV7JTv3fF/2HhlVLGHMAiaYVpMe1rODxs0+kDCt3gDGXQuS CRK9PkSNHfG74Z5sEB2qRCkJr2x+6NPoOf9kL1Bu2saic/hwtHqwbaDZQBEfTgQjQ/LR L8QyBCTPaCOjOxigTjnX2dNEC33gfcmRRgblkkojV2qXJhzd0FYnd7LZomZMzgVb46DT ah+9XCsUtaXNJEF2JLbT40bhiaVO6VdNPcvBB5kUafk8EfohG5wvKboOEJSIRR1yyief GXvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=EKpAyevEfePe5RlmKM03pK8oMJOi8sz1FAXiHwEguLQ=; b=Ncjzx0yJdNqsFjhzIMcox5+10Lz7w4Zng9p52K36AUMohR4rcAoERNTfXPNXbp/U5Z 3tTf4kFU/yCFoRTyDjNJRhf4TnXUf3Ysnjh1hGMJ6tKyti3vFRHJ/adqSMyMiFGlIKCG MI4JZALLjPCts6bBzzdFv8fnZvsA4g9HBwUX0E4oxEmU4Qo9fFdBbubHF9waeNM7nJAN YQ1MSdjoRVPkJMkG5AdvgKoSDxCkxIGlk2cXYM79GNHlMwK/U5xWLOkYsGQjdrnLrZ7B QRr3m8an7gCXcx3eorh2007JzViVAVgt2L71F6mlM9QGXfSUxbZCjTRd6DwOEzVX3WdJ mzfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hf23-20020a17090aff9700b001d28802aac8si2560379pjb.135.2022.05.10.05.50.13; Tue, 10 May 2022 05:50:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237924AbiEJIVY (ORCPT + 99 others); Tue, 10 May 2022 04:21:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238054AbiEJIVR (ORCPT ); Tue, 10 May 2022 04:21:17 -0400 Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E210628D4F9; Tue, 10 May 2022 01:17:20 -0700 (PDT) Received: by mail-qt1-f180.google.com with SMTP id hf18so13039454qtb.0; Tue, 10 May 2022 01:17:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EKpAyevEfePe5RlmKM03pK8oMJOi8sz1FAXiHwEguLQ=; b=xHS49mOJyjYzn9Wc5GeuAelrtFM6v7JxQSnxU6Dh20S0WIK52nu4SjkcbB83vYIFlA 3VjRwe44m+ThP1Hjx4TNDmbQZec/yq4cm8fKtFtX/Xe4f91DjPbmrk6kYeqw00uEEqpM /oF2bv6TmjYvW6HcuZi0CvEjlhx8g/oFVBXOpn6XAlnRRttpnBkMPLsWQBMY5qZDhy9G iq/TOPJqcWiGbArUZYeysTG9kkKZZCIOdgEDCM/JxTUOEuYtMUyQUedjlrrCFC9oBriV xFZVk8lvluJLH5A7c37lqrJIW3HXoPVlsG+wk5mrNCfF3c1s/Y30hQryuQv8Hfvp8mwC Rg6A== X-Gm-Message-State: AOAM530fInV75P7X2tI3N5gNIvWl9roifChVZ70UJKWlxufS0hBGeAcy XQ40aeL9YtYZTMiBhCjjMvK/R1LtrWwDlw== X-Received: by 2002:aed:3148:0:b0:2ed:55a5:7a92 with SMTP id 66-20020aed3148000000b002ed55a57a92mr18970765qtg.104.1652170639818; Tue, 10 May 2022 01:17:19 -0700 (PDT) Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com. [209.85.128.173]) by smtp.gmail.com with ESMTPSA id r12-20020ac867cc000000b002f39b99f6b7sm8886771qtp.81.2022.05.10.01.17.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 May 2022 01:17:19 -0700 (PDT) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-2f16645872fso170733577b3.4; Tue, 10 May 2022 01:17:19 -0700 (PDT) X-Received: by 2002:a81:2143:0:b0:2fb:1274:247e with SMTP id h64-20020a812143000000b002fb1274247emr18322539ywh.384.1652170639030; Tue, 10 May 2022 01:17:19 -0700 (PDT) MIME-Version: 1.0 References: <2b7d411b4a7913335082c858cb0d63b9e4bf7c5b.1652103920.git.geert+renesas@glider.be> <20fd1a74-c0f5-d8e9-4903-b74c185d5aa3@kernel.org> <22ed864d-8d71-7042-4d55-2b0b65d4d281@kernel.org> <5cec89ab-76f7-65d5-0b1d-fdd768234f0e@kernel.org> In-Reply-To: <5cec89ab-76f7-65d5-0b1d-fdd768234f0e@kernel.org> From: Geert Uytterhoeven Date: Tue, 10 May 2022 10:17:07 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_K3 To: Roger Quadros Cc: Krzysztof Kozlowski , Tony Lindgren , "open list:TI ETHERNET SWITCH DRIVER (CPSW)" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Roger, On Tue, May 10, 2022 at 10:10 AM Roger Quadros wrote: > On 10/05/2022 11:06, Geert Uytterhoeven wrote: > > On Tue, May 10, 2022 at 9:40 AM Roger Quadros wrote: > >> On 10/05/2022 10:30, Geert Uytterhoeven wrote: > >>> On Tue, May 10, 2022 at 9:22 AM Roger Quadros wrote: > >>>> On 09/05/2022 16:48, Geert Uytterhoeven wrote: > >>>>> The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is > >>>>> only present on TI OMAP2/3/4/5, AM33xx, AM43x, DRA7xx, TI81xx, and K3 > >>>>> SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_K3, to prevent > >>>>> asking the user about this driver when configuring a kernel without > >>>>> OMAP2+ or K3 SoC family support. > >>>>> > >>>>> Fixes: be34f45f0d4aa91c ("memory: omap-gpmc: Make OMAP_GPMC config visible and selectable") > >>>>> Signed-off-by: Geert Uytterhoeven > > > >> Could you please also add ARCH_KEYSTONE in the 'depends on' list > >> as some SoCs in that architecture do have the GPMC block. > > > > Are you sure? AFAICS, none of the Keystone DTS files have device > > nodes that are compatible with the match list in the omap-gpmc driver. > > Yes, the 66AK2G12 SoC contains the GPMC module. [1] > > > Or perhaps the GPMC support still has to be added to the Keystone > > DTS files (and or driver)? > > That's most likely the case. So would it make sense to compile the omap-gpmc driver on keystone yet, or does that need the introduction of e.g. a ti,k2g-gpmc compatible value first, and thus should it be postponed? > [1] 66AK2G12 datasheet: https://www.ti.com/lit/ds/symlink/66ak2g12.pdf?ts=1652170122865&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252F66AK2G12 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds