From patchwork Sat Apr 23 18:14:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 565414 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 AD07BC433F5 for ; Sat, 23 Apr 2022 18:14:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236697AbiDWSR0 (ORCPT ); Sat, 23 Apr 2022 14:17:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbiDWSRZ (ORCPT ); Sat, 23 Apr 2022 14:17:25 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B28F775E42 for ; Sat, 23 Apr 2022 11:14:27 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id g13so22167678ejb.4 for ; Sat, 23 Apr 2022 11:14:27 -0700 (PDT) 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=4QQpgXi7yWS28IokRF1hZIJc77EkGijmDz0iveaLCb8=; b=MC8QUeCbJ8dKf/gHcAYaADzDgZC123Ot+tm6LmaztwhyyXvjFJq03KZCXc8aC9JH2R 3HlDtxxiXUoC0CUSwyZbppVl3OYQ012IH4wXbrAH04cQGukodp1/2xZQFgCdjWiyvqM5 c76KJxPnYSLqQYBY6Rnl2KH5bbiDTXY3cmCYK1tTpK63jz/slsERUA3rpls/h2xPlfF1 ZjvM2RWX6Q7VIZ5hDPn5qgDfMeFyQcffeu9ENyU+kstNFrifZMzSUg2GlCSALhDvtCqH Nh0SKgzhZkqatDBFCyfi7bqvVS4ZR+sJsH0SazID+ty2PR4CYGs/vxqQqxA0OGtZTEaz lhzg== 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=4QQpgXi7yWS28IokRF1hZIJc77EkGijmDz0iveaLCb8=; b=SYd3wCC/i2nqwK1zVuSndE2JcHOU63yozekUmvzvvsad9uOZeajQYVvbvY6WByHtRu jLOGbGUf5G271k4dgE51W1KspzyThiGE5ipnVv1oR6TkOA99yXeOImRJCgTvUV+xJNiJ zuS5ta94ezux710acniP3+UuizkZ2kTq4rBun+wzNqZhprMTJPBKJk6Wui/Yv8G4/RVw WWUIyvSQDpN88TsAkwgvT8bz+bDjNJDLdoV0REVSxA6VI8EBLAQTCKk9u2fPLYAU0KqT hH236sodAwTEZI5B8AiWMampD1kZnMqUeep4nBfJ5uj8aeIolrsHuLqpcyfogdSIhNKX 0pdA== X-Gm-Message-State: AOAM530Le3wq9lerZv9IQV+z/D1ghbG0PIkr+23XlKcf+ADhtNETXO6q piAlPxlHb2ty0jnwzMZcqOXEmA== X-Google-Smtp-Source: ABdhPJwV4tePH9HR8CVm3pxVP4aoIDT7zFqPWPOdE0SE57Qq/13tim0ldZ8x2mCN2amBKqVA5QtjXA== X-Received: by 2002:a17:907:3f8f:b0:6f3:80e6:60e1 with SMTP id hr15-20020a1709073f8f00b006f380e660e1mr1432600ejc.89.1650737666294; Sat, 23 Apr 2022 11:14:26 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id g24-20020a056402321800b00423e43ebb60sm2399227eda.61.2022.04.23.11.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Apr 2022 11:14:25 -0700 (PDT) From: Krzysztof Kozlowski To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , ChiYuan Huang , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 0/2] regulator: richtek,rt4801: use existing ena_gpiod feature Date: Sat, 23 Apr 2022 20:14:17 +0200 Message-Id: <20220423181419.19397-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, Not tested. Follow up of discussion: https://lore.kernel.org/all/2d124d53-1f36-5315-3877-af8f8ad5f824@linaro.org/#t Changes since v1 ================ Patch 1: add review tag. Patch 2: Check for ena_gpio_state before accessing I2C (issue pointed out by ChiYuan Huang). Best regards, Krzysztof Krzysztof Kozlowski (2): regulator: dt-bindings: richtek,rt4801: use existing ena_gpiod feature regulator: richtek,rt4801: use existing ena_gpiod feature .../regulator/richtek,rt4801-regulator.yaml | 14 +++- drivers/regulator/rt4801-regulator.c | 68 ++++++++++++++++--- 2 files changed, 71 insertions(+), 11 deletions(-)