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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A7508C433F5 for ; Thu, 3 Mar 2022 19:17:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E221A83D5D; Thu, 3 Mar 2022 20:16:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="h6knwOsE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E186483D5D; Thu, 3 Mar 2022 20:16:56 +0100 (CET) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2575C83D83 for ; Thu, 3 Mar 2022 20:16:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x831.google.com with SMTP id s15so5481859qtk.10 for ; Thu, 03 Mar 2022 11:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=sHqwVFDDr18Zt+BXOtE9gcO57fdXhnBN2srF5P1tT3I=; b=h6knwOsEwRDaRJDtfIDfFS4npWvDazdn88Zuu96+HYqXeCteWfhVGmrap6spAaB6fZ CgFacMNBOqROJDvBRgPay8frmQeMunf17lhF5EBmlSafBPQHhOqrjVW42wGA1UTS0QCj LV6WNsz5s7GgIUw/xJgbh+wzcwBCwd4im5goc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sHqwVFDDr18Zt+BXOtE9gcO57fdXhnBN2srF5P1tT3I=; b=GQt0GrC5TBBKqcaUDkDARLtx7crmSAPTzrv9H8sFDt0P67XF2aYIPPf3L3Ed4dszFZ +wUbApQytv6Ec3WVbZXfoc5Bccmujs3oPCrT4yHCgY7Znbr+YYBq1MUjvFUsQ+rF/eLg 23lmP1jSrdOyPe0Er2fF354eb03HBAUFmxvKozFNJMEoCfL7e3zakb89WXzbPBQ3YaMd oxhoI0jRMVXQJO3QFrQMxyLJY81RjltW1eEZcdZes+LE7b52FRXfXMHzZAwTjbIWHiOH n4BGF59mas7mAivICm4gm/MFM2qTs7K0wi92ZEdP1bUVNMSqDQ58Xgb0nv+dzG9x+RVe K6cg== X-Gm-Message-State: AOAM5312bWwH2LEX5FvI0JaDcPHV4ziZ3WMBW6vPeaLz4IbQEEVTezLI 1gTiu4fyJSYUTV2gf8/Uhmachg== X-Google-Smtp-Source: ABdhPJxT82VS2eTefn5qh39/HZzO6LTIlimhPsTr6bbm1fKRIErfpNRHZxUn1A+iaqQJU6Syh6RRrQ== X-Received: by 2002:ac8:5d89:0:b0:2df:f357:c681 with SMTP id d9-20020ac85d89000000b002dff357c681mr21953697qtx.475.1646335007987; Thu, 03 Mar 2022 11:16:47 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id f14-20020ac8068e000000b002dd1bc00eadsm1771005qth.93.2022.03.03.11.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 11:16:47 -0800 (PST) Date: Thu, 3 Mar 2022 14:16:45 -0500 From: Tom Rini To: Etienne Carriere Cc: u-boot@lists.denx.de, Patrick Delaunay , Lukasz Majewski , Sean Anderson , Jaehoon Chung Subject: Re: [PATCH v2 3/5] scmi: change parameter dev in devm_scmi_process_msg Message-ID: <20220303191645.GI5020@bill-the-cat> References: <20220221082242.6349-1-etienne.carriere@linaro.org> <20220221082242.6349-3-etienne.carriere@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ufMBWnG1WFkAvCRz" Content-Disposition: inline In-Reply-To: <20220221082242.6349-3-etienne.carriere@linaro.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --ufMBWnG1WFkAvCRz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 21, 2022 at 09:22:40AM +0100, Etienne Carriere wrote: > Changes devm_scmi_process_msg() first argument from target parent device > to current SCMI device and lookup the SCMI agent device among SCMI device > parents for find the SCMI agent operator needed for communication with > the firmware. >=20 > This change is needed in order to support CCF in clk_scmi driver unless > what CCF will fail to find the right udevice related to exposed SCMI > clocks. >=20 > This patch allows to simplify the caller sequence, using SCMI device > reference as parameter instead of knowing SCMI uclass topology. This > change also adds some protection in case devm_scmi_process_msg() API > function is called for an invalid device type. >=20 > Cc: Lukasz Majewski > Cc: Sean Anderson > Cc: Jaehoon Chung > Cc: Patrick Delaunay > Reviewed-by: Patrick Delaunay > Signed-off-by: Etienne Carriere Applied to u-boot/next, thanks! --=20 Tom --ufMBWnG1WFkAvCRz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmIhFB0ACgkQFHw5/5Y0 tyyAUQv+KlK7ohuIaBAmv3M0OHUxK6szHvIaN8DcFIn2mGU6885sCO5thcb1GuQn OiHgNlY6jofuhYJxA04HUaXN/2jsATJnxnvkL0bTDt2J4vS7p9rJ0EhFbEGg/9b2 PvUMEsAClnIstQhb7x7LYfPqSv4uCQuzcAY7RrluMbufOrysBYkKjy+7WGqfPTCi If5qVV581Xdeq+ja8eWl9fXj8COHONwjVDRHpsx6OjUKp9ru7iwrn5nwOz+fGFoK FAOic3DH50LwF9p4EilrHhtpWfmezO7DAcWbuUi/unXSrynoY5Xeu3T9uGrDtdlP lZwjHhkxswfD3uwt7LIoyYGlgPzqUb7nKsFvW+44HuQi9uKOZ+O880a3mZEFdLmQ 1pTnAwzKraftbqkXkw6hXyV8WuRWrfh6NP8IrB8cNix0u84+cIJqRW9cINsBv/2n nBfi38n/kKPu2kM/JmRNctFAUg85u2gn6U+HIxWR+2xPrjsr4nWVHWHVJZEKdZpl lAt7SGtH =8uFS -----END PGP SIGNATURE----- --ufMBWnG1WFkAvCRz--