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=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,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 0664BC2D0D2 for ; Tue, 24 Dec 2019 07:49:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D0BEA2071A for ; Tue, 24 Dec 2019 07:49:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577173744; bh=GTiuJToEf1rYPyFg+M8KQHlG48XsZfpkE1FmUWz15rw=; h=In-Reply-To:References:Cc:From:To:Subject:Date:List-ID:From; b=Uy7KXMggXvovm41XZpugse9B2TdLb705Ph7aU0FgazibTAwjxBj8+qij5Goh2wG0O zU25ZnuPAzWKVBv//RHk5jz4oA8/F7DmaWOe2w0JwOc21h9nwErx/lM9Scn1mAvDHb MhU1a9nKtIWWPn6zw504Wssg9EHiC6KJlFoTc5go= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726203AbfLXHtD (ORCPT ); Tue, 24 Dec 2019 02:49:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:40002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfLXHtD (ORCPT ); Tue, 24 Dec 2019 02:49:03 -0500 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C9CF620706; Tue, 24 Dec 2019 07:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577173742; bh=GTiuJToEf1rYPyFg+M8KQHlG48XsZfpkE1FmUWz15rw=; h=In-Reply-To:References:Cc:From:To:Subject:Date:From; b=LtYDFR5QH+rp40jWZrHpHHIfROItwwLlOpd1+T0oPEZYQQD8VyVLoeikFdTwtapxN Fmwpw8nLFLqTN5794+J0FC5rz/Bdfektw2hYboggdM7vjugpp4ZEP/CLzvHEOdp1kB oHDxRvHk+ROafWKtHk2qh4a6yopx1uDFfcTNxY3c= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20191210145345.11616-13-sudeep.holla@arm.com> References: <20191210145345.11616-1-sudeep.holla@arm.com> <20191210145345.11616-13-sudeep.holla@arm.com> Cc: Sudeep Holla , Cristian Marussi , Michael Turquette , linux-clk@vger.kernel.org From: Stephen Boyd To: Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/15] clk: scmi: Match scmi device by both name and protocol id User-Agent: alot/0.8.1 Date: Mon, 23 Dec 2019 23:49:02 -0800 Message-Id: <20191224074902.C9CF620706@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sudeep Holla (2019-12-10 06:53:42) > The scmi bus now has support to match the driver with devices not only > based on their protocol id but also based on their device name if one is > available. This was added to cater the need to support multiple devices > and drivers for the same protocol. >=20 > Let us add the name "clocks" to scmi_device_id table in the driver so > that in matches only with device with the same name and protocol id > SCMI_PROTOCOL_CLOCK. >=20 > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-clk@vger.kernel.org > Signed-off-by: Sudeep Holla > --- Acked-by: Stephen Boyd