Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp712173pxb; Wed, 20 Jan 2021 19:35:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4Da+/I0yoVFTBPtFpss/8zEjRSGpCUAIGBo9BvzFhWiywF01XwDP9zShwzv0iubcj7L4E X-Received: by 2002:a17:906:384c:: with SMTP id w12mr5592385ejc.140.1611200155460; Wed, 20 Jan 2021 19:35:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611200155; cv=none; d=google.com; s=arc-20160816; b=tkTbhM53GBumgAKn6NnKyMzRm0KggRpy2exvz2Kmh012fWoiSVfQNdjE1CEWxqn2RB 1UvcdsrO9GspCoJwtwJJ2Wh6qTeo00R3QSSVjg50R3bypCDfP4m5yJuyCr8+0B8TnnDO tbDAtj15Jef5pFfyGUPTp/Iv884XaZ+XzxEXdfEkb087dShE2TV6zBIqWzFqDdewaiGc DVqQ9X4ZVdskKOHKT7+E/WUzKSyZDlf+lKFH3KmxP0CTIr0t86D684Sw69TOFJogq49M ZWKKhru+BQpldMVgKXNhnrqoIiPgPfMdnDpgx4TRL5+FvnuITjbXtqyB2R1NXnAHMRFK tc1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Pcen9Zgo2j5OHKCRzPvVuxlJS3k+e7FLBVt1DrnV944=; b=X84X1YRW3Zkmxh1e1IsP1zZHBJh9eH+oaP6XSUoogPc/YaOZ0BZBpG+IDIsCzbvATm brC5d5n1GGkqjeBV1R/TC5qF9fst6Whj9kGJy+ABhfkyNaD1NjTRQbAD1NGf2BsyXMCg 8zm5pA+trUECcisregNLsmTjmGHwKmCnMEKayUOGiz7jeH+fqvuNY0OxF6Xh4lH8/CCg P8jKdGFns2HtOrsbCy2UNdycD0vtuwiP4tlI3mtOogWVIgYyDGtEUNOyhCLAP297r/Q1 upUVmKfM1tXBrW9aqCMQ4yfphfTbP2BYnu2Vl3St8o5g6qzKJycIc2QlzDwRIfv92IGt BzsQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si1324575ejo.496.2021.01.20.19.35.32; Wed, 20 Jan 2021 19:35:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393327AbhAUCwh (ORCPT + 99 others); Wed, 20 Jan 2021 21:52:37 -0500 Received: from 15.mo6.mail-out.ovh.net ([188.165.39.161]:38589 "EHLO 15.mo6.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731981AbhAUClr (ORCPT ); Wed, 20 Jan 2021 21:41:47 -0500 X-Greylist: delayed 17094 seconds by postgrey-1.27 at vger.kernel.org; Wed, 20 Jan 2021 21:41:46 EST Received: from player774.ha.ovh.net (unknown [10.110.115.139]) by mo6.mail-out.ovh.net (Postfix) with ESMTP id BDA99237A32 for ; Wed, 20 Jan 2021 21:00:56 +0100 (CET) Received: from milecki.pl (public-gprs350448.centertel.pl [37.47.0.49]) (Authenticated sender: rafal@milecki.pl) by player774.ha.ovh.net (Postfix) with ESMTPSA id 50BBB1A4FA87E; Wed, 20 Jan 2021 20:00:51 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-100R003abf26e96-041b-485e-9666-13944d086f29, C59A7BE3DC72FAF1CD198FBEBAA31FE01A2500F7) smtp.auth=rafal@milecki.pl X-OVh-ClientIp: 37.47.0.49 Subject: Re: [PATCH Broadcom/stblinux] soc: brcmstb: add stubs for getting platform IDs To: Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210114105318.14970-1-zajec5@gmail.com> <20210120194851.2775816-1-f.fainelli@gmail.com> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Message-ID: <17235825-ac17-616f-f2cc-2e373ead5063@milecki.pl> Date: Wed, 20 Jan 2021 21:00:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10085811369204223511 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledruddvgddufeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrfhgrlhcuofhilhgvtghkihcuoehrrghfrghlsehmihhlvggtkhhirdhplheqnecuggftrfgrthhtvghrnhepkeduheejheffudefhffghfegjeejleetkeevueelveegkefhhfffieehleelgfevnecukfhppedtrddtrddtrddtpdefjedrgeejrddtrdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejjeegrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomheprhgrfhgrlhesmhhilhgvtghkihdrphhlpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.01.2021 20:58, Florian Fainelli wrote: > On 1/20/2021 11:48 AM, Florian Fainelli wrote: >> On Thu, 14 Jan 2021 11:53:18 +0100, Rafał Miłecki wrote: >>> From: Rafał Miłecki >>> >>> Some brcmstb drivers may be shared with other SoC families. E.g. the >>> same USB PHY block is shared by brcmstb and BCM4908. >>> >>> To avoid building brcmstb common code on non-brcmstb platforms we need >>> stubs for: >>> 1. brcmstb_get_family_id() >>> 2. brcmstb_get_product_id() >>> (to avoid "undefined reference to" errors). >>> >>> With this change PHY_BRCM_USB will not have to unconditionally select >>> SOC_BRCMSTB anymore. >>> >>> Signed-off-by: Rafał Miłecki >>> --- >> >> Applied to drivers/next, thanks! > > Made some tweaks to the patch: > > - subject is prefixed with: soc: bcm: brcmstb to match previous patches > - used IS_ENABLED() instead of #ifdef because this may have to be a > loadable module in the future (because of GKI) > > Thanks! Thank you!