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: 531383 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 A4D08C433FE for ; Tue, 11 Jan 2022 17:48:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242054AbiAKRsr (ORCPT ); Tue, 11 Jan 2022 12:48:47 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:53814 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241403AbiAKRsq (ORCPT ); Tue, 11 Jan 2022 12:48:46 -0500 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (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-0.canonical.com (Postfix) with ESMTPS id 4684A4005A 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-f72.google.com with SMTP id p8-20020aa7d308000000b003fe9b0c4760so3835625edq.17 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=jdkrsi7h6+UaM7NDMm1UttgJ7PydWb3H7KbvhbEA5Qvrj+lm/lYC0r/1X3yS8XxhbW GH6LuRtbrXIAdjMwhQeUbqLgxNCwkd1+Eb4nMAkyLFuFDaYoJsZwOwrOY11urTOrISuf x/g2Uj+4AgmEOgbRk+UxF472VoQQGrFA4tlD0Un2ke95ZvlTO48NJzITrhqlLDR46olH 7CCzImY2VKOx6YoMJKiRQeeUHtuq4iXQRRUu+WD3yfYKjOXnD8xe2/1vRta6PrO58jZJ giNiwcttWBtEg6wMWupvWW16dtxjJ4OETM7G3jR02bDIaGxT0cZ4BZC0IpiQGQvELYYA baXA== X-Gm-Message-State: AOAM532YvGnuIHF2mXb7UxAIKVASkbfQjv0Tc2XJ0jv0wF2HYSTsqUBv m/EmXYB5XsR4PGEaVmMKHRY8bMg8b2CtPh/cC7+ysuS1IZSLmlYe+oQVFTxs4b+uOR/W6SzaaNt z83LEu/JoZWKqqEPcYy3ibBZODHuGQ+o45wLqNxG4DCuRYahP X-Received: by 2002:a17:906:8497:: with SMTP id m23mr4753324ejx.158.1641923324857; 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 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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 Reviewed-by: Rob Herring