From patchwork Tue Jan 11 17:48:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12710205 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 777E4C433F5 for ; Tue, 11 Jan 2022 17:50:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=kQzfYe8CxvasK/BUsJMyMRCNpopIVKrzDNyhzwrhco0=; b=ueMRFFzDZx2T+r Krtia+jmDvnkTWl4epV+qzOAl5vhXcw5pkByHKSBx+hUFYu6S8Twa8+aRHgmnmdOtHxGkpvtLDmvF 39vxnf2cFxX0BgCTzflpyUScLwHo1FweQf2XMRSyhVnTqVDvxWSkKWoB1sgCi1VKYR4bkCdOSIlZd 45/FGVNq2wP3+RrXLEbNJYtO6BZzB8ODzATuMBTLbWxIuECcUslBWgiCD/zONkJyj7bOspLul/dmY 9f7XskBnemcDT8r/AxXEBZWOjlDo6Tv7a8y24GYzSi8henkx8UmnmX/Z+R/1nMU8lwuiVsuuRyfRw X6m1Yfr62jYA3AQ+bHbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7LGM-00H71m-Hy; Tue, 11 Jan 2022 17:48:50 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7LGI-00H70Q-Rq for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 17:48:48 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 8CA2340037 for ; Tue, 11 Jan 2022 17:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641923325; bh=qlkFuTgP9uFlSrp3JI1NgXZW8hFQsnWbyi8YbpE5nEo=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=pwnhnl1U/iLonrDI7gxMLDkea7xGL/WsRxA++ifrqBD+uolHx3hvsVW7uNsgTrWbr tV9pfmyqrJ8+3feiuHWkegW+zDgjIj4UHTLU5pEJZkBS5NHu9X5S1LLhuspPDHpRLP 4QJqwYF2HMatbESwFL7X1wJzJQuOlJtwgnHO6ikqwgD2bnJfua+usCDPb1oQj0K+vN ZbqDqWoPpptnLZEeyHamz1YWRAmpft48nMC00F14mh9+Fenj/t2biCBm0m6UHO2pud XAS0YzFNNq/pwRsXrybOFn9MS2MMIAbk5Ax2FhuGTTja+gU+Nu6OavmAvuXjZKnsOS Y6GkXiNSvnXwg== Received: by mail-ed1-f70.google.com with SMTP id o20-20020a056402439400b003f83cf1e472so14026540edc.18 for ; Tue, 11 Jan 2022 09:48:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=qlkFuTgP9uFlSrp3JI1NgXZW8hFQsnWbyi8YbpE5nEo=; b=EFfqKyRSV66khwNYAZo8PJq0BKhVLx6PnV/06RJREFx+Yu9WszTYX66AloKBecGBfS JjQNea7u5F/Mt58zz+AZMjaRFeFzH7NLVOiFiMXxH77TQCvoqec2Pg478PfikR14H9Yn zhu0RJ9uFWR//RyzH6xnCm+z7EKtBkOjz6F9zqIkyQalHMHRR/Y82D3MBm8UWq+BtZ2h 5oO4Wx2iuFGHPGtKAuWRlsK0117ayXmWwxc0HsdV4a1RhZq+gezBVBGppJQNi50P8La2 fSLdHSzwCCJsHAekUVBR9Msa4Ex2aw6k6jXJi9iiopbkSaujGD+SAOldhLy43qZaBxo/ Ggnw== X-Gm-Message-State: AOAM532GiZxKXY+01SWqP5zV/muhFHXpWGzuDb/MoRwID92e9v5SXXTX +fqiQK3lpClsQZ6lq7piSZoIBlIUS5h9NhuK9KhiaMdfUHaJ9mWCSU2HFFEqH4ISG9UUGl+3Jew 9/8MsaK0nafPlvw/HFEH9qePZtiOuaQb5sYv2ciWQKkftW/CuRJpU X-Received: by 2002:a17:906:8497:: with SMTP id m23mr4753320ejx.158.1641923324853; Tue, 11 Jan 2022 09:48:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxb58uW6q4CoABAvbfyA0wd/q1tfVO+WKMqFjxCPxPu4yfFAUnJzVfOAaa/7ysx+M62NXkyjA== X-Received: by 2002:a17:906:8497:: with SMTP id m23mr4753302ejx.158.1641923324673; Tue, 11 Jan 2022 09:48:44 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id i23sm5224489edt.93.2022.01.11.09.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 09:48:44 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , MyungJoo Ham , Rob Herring , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 0/5] mfd/extcon/regulators: max77843: add dtschema/bindings Date: Tue, 11 Jan 2022 18:48:00 +0100 Message-Id: <20220111174805.223732-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_094847_057226_09395885 X-CRM114-Status: GOOD ( 17.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, The max77843 shares some parts with max77693 but it lacked bindings. All its compatibles were undocumented. Add basic bindings for max77843, matching existing devicetree. These are not complete bindings, but rather reverse-engineered to match current state. I do not have access to device with MAX77843, so if anyone else volunteers to be the bindings maintainer, please join. Changes since v1 ================ 1. MFD: Use absolute path to schemas. 2. Regulator: mention all allowed properties, additionalProperties=false, add min/max values for voltages and current, don't use patternProperties when not needed. 3. extcon: Use absolute path to schemas. Dependencies ============ 1. Patch 1/5 (dts): nothing depends on it, sending here so Rob's automatic checker won't complain about DTS. I will take it via Samsung SoC tree. 2. The patch 4/5 (mfd bindings) depends on regulator and extcon, so they should come together (2+3+4+5). Best regards, Krzysztof Krzysztof Kozlowski (5): arm64: dts: exynos: Align MAX77843 nodes with dtschema on TM2 dt-bindings: extcon: maxim,max77843: add MAX77843 bindings regulator: dt-bindings: maxim,max77843: add MAX77843 bindings dt-bindings: mfd: maxim,max77843: add MAX77843 bindings MAINTAINERS: mfd: cover MAX77843 by Maxim PMIC/MUIC for Exynos boards entry .../bindings/extcon/maxim,max77843.yaml | 40 +++++ .../bindings/mfd/maxim,max77843.yaml | 144 ++++++++++++++++++ .../bindings/regulator/maxim,max77843.yaml | 65 ++++++++ MAINTAINERS | 2 + .../dts/exynos/exynos5433-tm2-common.dtsi | 17 ++- 5 files changed, 265 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/extcon/maxim,max77843.yaml create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77843.yaml create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max77843.yaml