Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp490229pxb; Wed, 20 Jan 2021 12:01:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLBEnV0NTgp37LAcShVLB0urvfY4588esYthn0EdkSO2hyB+gUdH+PzlRn5C08SJ6qbdx2 X-Received: by 2002:aa7:c485:: with SMTP id m5mr8419084edq.320.1611172873296; Wed, 20 Jan 2021 12:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611172873; cv=none; d=google.com; s=arc-20160816; b=tq/S6i8KA2pqzSLQu9tEKdjepUIf7CKx7vLvK4+WyJfuPoAh3Vkvf/6b4RvDIwAzOK 9e0IHzMaSK/sQn9V1stPBSOkhuWjKgbdDM3ljd2liMeWVRAuGb4GnLSKNkisp0srjX3k qCZsCTOhN8Xbr5rTih93Z10Ko6bI2hNJG8T2bjNpA+wz1uHzXqYiFX8HEm2DyMgzzfuZ ActdYe95qGpbqpwOmZlaPTuTLucvFGo2lNxG8k+jLnE++WNZAWs2+j+RKAvUd0cCHBXC 2gzbQlIaPRTyKRI16NkqzWecUVeVFI4aDEBANJv+49O6NPAQICm6H91PePQw/QJXQdUr EJsQ== 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:references:cc :to:from:subject:dkim-signature; bh=MfaXz7q7ypMtoFRywWb/uSXNLRR1HjaD0R8NKRuWUg4=; b=MXabo2di2wbr8ANSPcLy9PCCcNfULQ8ylIgeMva87r5Bfl7CUpeAuj5eOURWdLMd53 FP9ZUIURMZtt4+616Go4yUVFMtQq9zs58Oo2a2Q+MHDHIcT7AKp4b6gwDfDkIZYRhbi1 2rvmp3rk12pgHzM2+Aiiw3dNaexrrWqB93X/c+F4JhfDmIMJs0i0N5rFCkTYGQ003TO+ MFEElkzjc0mffNB9JW/cRuq4hfs2Eo/xMokrT3zMfPg028L8fDyvwlGNDjry2073Z63O 7ZgRL9b+1NtNZvatzQqm/Vv0G/w0NRt73yymFMJ0/BtqT0PKDIIkOJo7xVSzitedEY4e 9wfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ccMMj1sA; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be5si1199920edb.385.2021.01.20.12.00.48; Wed, 20 Jan 2021 12:01:13 -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=@gmail.com header.s=20161025 header.b=ccMMj1sA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732873AbhATT70 (ORCPT + 99 others); Wed, 20 Jan 2021 14:59:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730353AbhATT7T (ORCPT ); Wed, 20 Jan 2021 14:59:19 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51462C0613D6 for ; Wed, 20 Jan 2021 11:58:39 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id kx7so2856104pjb.2 for ; Wed, 20 Jan 2021 11:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MfaXz7q7ypMtoFRywWb/uSXNLRR1HjaD0R8NKRuWUg4=; b=ccMMj1sAdOtFgYcc0N7T8pYGOxwNh7HmovjcTEcrdfcpHA9BxdACdW0SYZPRj9a0Ug G4RaBeMTK6G9dZ/Icyhgmc4n+8vs+PiGLyzvPn6UOB2/l2m0r6bKkbJu3WJQ2aqM/3HT UY2nJZfKaataiSyXv6sB8bxLA9u1NXR3pa3ZBNHlAcAWuHz9CCjOOl5nIMex+TiFvpu8 is14uJpdTlHm4MceIgOntbb6+oZpzeEKB5MnA88yBMdeu3xHgmq7Ks9QzkNF1tWvp5ns bSq8tDBOH6B1ajOfnxnaaLvkSqNEOeKwkg/Cnk6UY7Bb7NxGcXM3FYBk3pyffXn/xWo6 U77g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MfaXz7q7ypMtoFRywWb/uSXNLRR1HjaD0R8NKRuWUg4=; b=LHpq9xi3Bf/+F/PXEd3vsXNP32o/AfX4Ro2DADjwV5AJAakg2jjpLawIrxjK1jCIqP ijk1h6haih8u9esrHoqBO1KbLWx5A2Z2Q5UAubAdudLDoJMfh0VnBEC9hS7dCJ1Zfrjr IqUd1D7A3jxWfgK28hhit0+Nrlxww7O+NMogSRumnn4x+iWai1kFMfSlbgUYO2hynHK4 5JvVmzJRIJHebhX/j3fZDTuAiQ48LwJpiCKw4PglNplf2AwCLlaqf8ZVX+aAWdl3xNWl w6O6OpvKxAYaruOYQx8V/1snPn1BwHRz4JKeC46Fcw9QqVGT+xqRiXolkCpzDZF6Ekuu jNKA== X-Gm-Message-State: AOAM533SFzFyt6gKN0xICpwCrGQCIW/5zw3ehLhVFyW8PK6zeC1hL0ox VtAiXg3bJF+cMAJkwPhCzxhEu96aZGE= X-Received: by 2002:a17:902:e5cc:b029:df:bc77:3aba with SMTP id u12-20020a170902e5ccb02900dfbc773abamr5909743plf.72.1611172718701; Wed, 20 Jan 2021 11:58:38 -0800 (PST) Received: from [10.230.29.29] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id x23sm3277744pgk.14.2021.01.20.11.58.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Jan 2021 11:58:37 -0800 (PST) Subject: Re: [PATCH Broadcom/stblinux] soc: brcmstb: add stubs for getting platform IDs From: Florian Fainelli To: bcm-kernel-feedback-list@broadcom.com, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= References: <20210114105318.14970-1-zajec5@gmail.com> <20210120194851.2775816-1-f.fainelli@gmail.com> Message-ID: Date: Wed, 20 Jan 2021 11:58:34 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210120194851.2775816-1-f.fainelli@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! -- Florian