From patchwork Thu Feb 3 16:46:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 12734337 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 C248EC4332F for ; Thu, 3 Feb 2022 16:46:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239404AbiBCQqi (ORCPT ); Thu, 3 Feb 2022 11:46:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242631AbiBCQqh (ORCPT ); Thu, 3 Feb 2022 11:46:37 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 933A2C06173D for ; Thu, 3 Feb 2022 08:46:37 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id k13so7191484lfg.9 for ; Thu, 03 Feb 2022 08:46:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ie1OHE8dynoeStzKHWtxsQXqjLNlKsrhQFt6sTADfMA=; b=M7p2IigGIIkJiS1rj/2sNK1ODqHrIF5SlWms7dSmhOACxEDQV2jqqiF77MyXoWjfLe G2FVtRW/SSwZvA/NPvbxjmkJI7CzIneHelEpx84rgdj4dQRkeBr7m+nKxRQFAENiz5Tu v/bObx6aY6C2x4ke4oesFrbpi6W5OH1EtrIdk/C9F5q6MnXn0xxyO/IMYI3rjARQUCeR GsPXS4wts77pJbeLNx4xkxsR91sJ74YOCkTC0TPSlammkONInMBIqgU68PLS7Q7kpfrT yq/E9+IkXS0mf8w3qeepus7LeK/tnbEYRlO4JYY7VyeSwCGjcNKAR+M0C8LLVJWBK46q NWEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ie1OHE8dynoeStzKHWtxsQXqjLNlKsrhQFt6sTADfMA=; b=o9TqlcsxIzCJqjPVnuTSGQzTD8S7GvRNN7jX3Ou8GqVafM9+nEkRoXSmIhLhKxRPoU LNC0AMuka11GNEIlA5rOpjceshdNjKunVp9qDWfBtp63/cSHRNzwrKq1SQL4Jc59qfpj QZX838z6d804ZKM3UenmXiCttOAV1moJfDh3vZTvxAUAG78za7ELAklBxlEdbA5Si5lU iOTlKWQGe9BH/Z6tbRpHQIT9YnqbNso4iobuMDS0bSoQmPbmxku3P2W62DUOyV7NXxmW dddQMZqOB8O/EgwLvMtlIHaX2uwjvwkVC05mOm/o72g3Ld6qUks01qHO6Z/GjEMDQZ0r BccA== X-Gm-Message-State: AOAM532AY3SAPNeqLnNEB2nhKDn2W4UJkRvcCwAvzWHk+8nIrAW6aosX EGMR7O/tEnJESros4x63iCmXeg== X-Google-Smtp-Source: ABdhPJz4iO8ubgZ56ej9rjRRI92NoRvioTzKBRhVXGP3nBxWdRughDp5LXUfUf8Gd0HmY3Wubghf4w== X-Received: by 2002:a19:5219:: with SMTP id m25mr28305305lfb.502.1643906795816; Thu, 03 Feb 2022 08:46:35 -0800 (PST) Received: from localhost.localdomain (88-113-46-102.elisa-laajakaista.fi. [88.113.46.102]) by smtp.gmail.com with ESMTPSA id h6sm269999lfm.237.2022.02.03.08.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 08:46:35 -0800 (PST) From: Vladimir Zapolskiy To: Loic Poulain , Robert Foss , Rob Herring Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/9] i2c: qcom-cci: fixes and updates Date: Thu, 3 Feb 2022 18:46:27 +0200 Message-Id: <20220203164629.1711958-1-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The main intention of the patch series is to add support of vbus regulators, which are commonly connected to CCI I2C busses. The new bus adapter specific bus_regulator from commit 5a7b95fb993e ("i2c: core: support bus regulator controlling in adapter") is reused, however its control is connected to runtime pm of the I2C master controller rather than runtime pm of slaves. In addition the series adds new compatible value for CCI found on QCOM SM8450 SoC. Vladimir Zapolskiy (9): dt-bindings: i2c: qcom-cci: add QCOM SM8450 compatible dt-bindings: i2c: qcom-cci: add description of a vbus-supply property i2c: qcom-cci: don't delete an unregistered adapter i2c: qcom-cci: don't put a device tree node before i2c_add_adapter() i2c: qcom-cci: initialize CCI controller after registration of adapters i2c: qcom-cci: simplify probe by removing one loop over busses i2c: qcom-cci: simplify access to bus data structure i2c: qcom-cci: add support of optional vbus-supply regulators i2c: qcom-cci: add sm8450 compatible .../devicetree/bindings/i2c/i2c-qcom-cci.txt | 9 +- drivers/i2c/busses/i2c-qcom-cci.c | 159 ++++++++++++------ 2 files changed, 114 insertions(+), 54 deletions(-)