From patchwork Mon Mar 29 12:53:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 12170065 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=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 E7315C433C1 for ; Mon, 29 Mar 2021 12:54:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A497E6193A for ; Mon, 29 Mar 2021 12:54:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230358AbhC2MyL (ORCPT ); Mon, 29 Mar 2021 08:54:11 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:40553 "EHLO mail-lf1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231646AbhC2Mxz (ORCPT ); Mon, 29 Mar 2021 08:53:55 -0400 Received: by mail-lf1-f49.google.com with SMTP id a198so18258800lfd.7; Mon, 29 Mar 2021 05:53:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eHCRAP6XuwyucOiKsJ2lUJcU0/0jNVJWqtNu+2ue+X4=; b=VkbfR1gjRqPkER9k97YTj0h20IKQpM7fVTYeHBRhZDZN1mXDJfhL0xQWlak3L1IW4k Plq5zVYD/yUlv37hsxZ0lnCrRkJjJ3SG48xV40rU4cKDq+2wCMBnm3UzBhcWrlsnv4Eq Q6R9Yu5sobYFnBoNsvjAMRwfYN6+nhVZ7mT55CZTbXDRLW2z7MPGB3JKTKlFDYEZyMrD urEM/XKyQLGrJApqJ4nxwyvCFTbw148F3VW6FdywqXDeIr1VEOFUCc7HRdR1LowRXuvg pqJfPOUC3nApOH/YJtTkF8m3ryVYWrd1ZydTtd8GlOrsDleApzXVZQDET04osTl9rCjg 57rg== X-Gm-Message-State: AOAM532Z5BfoUQidUyieyxTgHcFiTtIqhiS4K53Ajew7d8E6ihtn2AVL 5B/noVEhm1VnM3gvn8voRy0= X-Google-Smtp-Source: ABdhPJy8y6rcbvH34iRN9MkiLSm6cmScFiUCGjpBJbJavDORRi4iq2SlgejArSldGuYt+HjaXi95mQ== X-Received: by 2002:a19:ac4a:: with SMTP id r10mr16847419lfc.468.1617022434262; Mon, 29 Mar 2021 05:53:54 -0700 (PDT) Received: from localhost.localdomain (dc7vkhyyyyyyyyyyyyyby-3.rev.dnainternet.fi. [2001:14ba:16e2:8300::2]) by smtp.gmail.com with ESMTPSA id 194sm1830536lfd.116.2021.03.29.05.53.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 05:53:53 -0700 (PDT) Date: Mon, 29 Mar 2021 15:53:47 +0300 From: Matti Vaittinen To: Matti Vaittinen Cc: Lee Jones , Rob Herring , Matti Vaittinen , Michael Turquette , Stephen Boyd , Linus Walleij , Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-power@fi.rohmeurope.com, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH v5 03/19] dt_bindings: bd71828: Add clock output mode Message-ID: <2b26725f576f7c64ed507511d9459688d8c90a06.1617020713.git.matti.vaittinen@fi.rohmeurope.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The BD71828 allows configuring the clk32kout pin mode to CMOS or open-drain. Add device-tree property for specifying the preferred mode. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring --- No changes since v3 .../devicetree/bindings/mfd/rohm,bd71828-pmic.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml index 3a6a1a26e2b3..8380166d176c 100644 --- a/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml @@ -44,6 +44,12 @@ properties: clock-output-names: const: bd71828-32k-out + rohm,clkout-open-drain: + description: clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos". + $ref: "/schemas/types.yaml#/definitions/uint32" + minimum: 0 + maximum: 1 + rohm,charger-sense-resistor-ohms: minimum: 10000000 maximum: 50000000