Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED4B0C433FE for ; Mon, 27 Dec 2021 11:34:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236411AbhL0Le5 (ORCPT ); Mon, 27 Dec 2021 06:34:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236394AbhL0Ley (ORCPT ); Mon, 27 Dec 2021 06:34:54 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED11EC061401 for ; Mon, 27 Dec 2021 03:34:53 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id l10-20020a17090a384a00b001b22190e075so12985931pjf.3 for ; Mon, 27 Dec 2021 03:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Jd2KJ61wX8nV+l4qEphFCwhVfyjEv9bxYKlxVpeMJ2A=; b=NNDIgnSEg2wLqr1Oah+q7fFr6cEvL+XAs2dTBnebktoahy5V/7IDqoIVmDml2y7xLF Ut4jMnLGvDDHVzxqlJf+Ynttv4Ic1EUknE0q3JEfur2QWx1eilkEgee0TduEPGyIrLsc EJxYchls9SdEkEUV6XGuSBB70l26a0m3Eb35ESP73eZtOzXVr+CNJLgbyjkWMOdu+vZY CAQee6i5GhN4fwm5i5PH2B50PialLZ4pjsJKbeSkpuun0xtHkzqRe87aPcoa8dkmJVjd rbh5mEeCRS2Nv+1E3xQNoCwMfYrGWk4QrCNXJCscG1SkMSDD3P84vZaUlmgZu1naYSBz F+PQ== 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:content-transfer-encoding; bh=Jd2KJ61wX8nV+l4qEphFCwhVfyjEv9bxYKlxVpeMJ2A=; b=xZ5JQCrHUmM09SDWiFE/CJENCUm+aUD7J1D8omy51Fh0KHvjOg4M0ChVTagmFO1IZO U1mQQRPx3di+cyi/aBL+frhfDzc6XCLtu1lVHnMPPQq77Hf2ZpOKIQf25/yE3bdlNNGQ 2O530gMqWZsZXKJhLQrm3c8MTXSlT3yc8KQ2D0k15dkkAdVdf1EJtKelu8gIi8GxzO78 6KKDfH4DJ4NRRSPvCtwZ+1TyzHRlbYX9HToA/GB+5pn80EC9WzFTcIxsfZJWe12HUgTC rW81kmg6g9EGlLQNtGQwrT26BwGcfht9zWVpQSvcQaEY9rAU11SLCFwAoUC56bq+l00V qDeA== X-Gm-Message-State: AOAM533LoDo1OmegOuJU6S07uM/HYLPWyRSPodTKo4u3FHlqxjQx94av G2mjpvPOE3l5/RzRphQ9OVwusUYYPYk6ABCSYsSMr8oygWmNdA== X-Google-Smtp-Source: ABdhPJx7SqYM0Oy0x/uoDjZKqUvD0JXYlvnirwPp9gvGxyGaCSbFU0OFSlw1IZ6WFjKfztl1+LS/626aO+jtG3VCOd0= X-Received: by 2002:a17:902:8c92:b0:149:848e:e337 with SMTP id t18-20020a1709028c9200b00149848ee337mr2912718plo.139.1640604893476; Mon, 27 Dec 2021 03:34:53 -0800 (PST) MIME-Version: 1.0 References: <20211222094558.2098791-1-jsd@semihalf.com> <20211222094558.2098791-3-jsd@semihalf.com> In-Reply-To: From: =?UTF-8?B?SmFuIETEhWJyb8Wb?= Date: Mon, 27 Dec 2021 12:34:42 +0100 Message-ID: Subject: Re: [RFC 2/2] i2c: designware: Add AMD PSP I2C bus support To: Jarkko Nikula Cc: Linux Kernel Mailing List , linux-i2c , Andy Shevchenko , Mika Westerberg , Wolfram Sang , Raul E Rangel , Marcin Wojtas , Grzegorz Jaszczyk , upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org czw., 23 gru 2021 o 15:37 Jarkko Nikula napisa=C5=82(a): > > On 12/22/21 11:45, Jan Dabros wrote: > > > > Introduce new CONFIG and add new menuconfig selection list in order to > > allow (optional) selection between baytrail and amdpsp semaphore. > > > For the Linux distribution point of view selection must happen runtime. > Otherwise either AMD PSP or Baytrail semaphore support is missing from > the installation image. I see, thanks for your input. Will modify the driver so that it should work with both (Baytrail, AMDPSP and potential new ones) semaphore modules compiled in. Executing probe()'s at runtime will allow to select and install correct callbacks. Best Regards, Jan