From patchwork Thu May 30 08:55:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Weber X-Patchwork-Id: 13679973 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 C16DDC25B78 for ; Thu, 30 May 2024 08:57:27 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=53MKPMJei0/vNkwNkUfKtIcBvgu2hkt+toCIinpziL4=; b=DLjinkOXJ1BPDN x2+nyhX/jdyc3Tab0AlZXJnL7gAXs90uW9cCYPE6nJdAVLWlcqPcKs3caqznBlaJX/8SaTqNi9ZBE Kk7f3kt+g4U3g1nojMfSZ8SrENsLKMKAnOAI9cIIKKtzTBChIzKzUMJqEQ8dyPX2aIAeK9noXWe/E QYgeEXgTrhYuu24+l97Jx1hbxy0HRrQ1qXbiAb06ec1IFk3lERezRTnwg0NE3VwY7LJ9W4vl8D5tS M9LlEKTG0SNxh7cC31yfcGIcV4aavG1mcahZBqpOS+/eqMkZdBnXm9fnwo3PzgyEQYw4hOyr197Nq JPC3dYbbqwcItaDeeFoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCbb1-00000006hop-28JX; Thu, 30 May 2024 08:57:15 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCbaI-00000006hYh-2pGA for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2024 08:56:32 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a63359aaacaso53619266b.1 for ; Thu, 30 May 2024 01:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717059388; x=1717664188; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4u0mVIC+TF9G0asIIdA4dwFhaqzCvDfO1MH0BIe1340=; b=kQaoM/KSLf1qoMl93CDGJNuigeiZ3LShJZkrSoR3DfaGdOmHeFdnfjDO+OmBQSCmJ7 u3HE6MzluDA65lIudAMGZy9ZhQ52CIzoG52WbMufNR28QO/rATtXelJS6LIuyDdy70GS TWtibguNwt9/FOGdlbD0SDexP/Dq69ZaSfjI9ED5wp+aLxC1wjJ2JfecwfpFq5HSP75S LvFRW3WZWHMqFSlP8EcHjbcN3gK+ldIiY42MmuOYlwMlRkdjX9TCQdgTgxtzRHaJ3c5v 7KyTQlfAdKqjJjoQLo7Id9MqucWjJBCJaucy541SQNKzvUPHwIB4VoyqdWGgTeHsiIN9 U+NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717059388; x=1717664188; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4u0mVIC+TF9G0asIIdA4dwFhaqzCvDfO1MH0BIe1340=; b=XB2bUdzqqWLLgTfwwzrBSOhQfhxlOx/7mN655Rzt2GCzWAAGTQzUiuOmFbgiFnJGc+ voz2SQbJE22as3pkbVpoIlLzVk4EeBfPgw84RmseWpF8QtVQCN+a3VTizCA5hymvA0hW hzUKpaIlVConLRpNIWk17Dn+xkxURYSh6sbCqj0Hq2Ata7wi9oFpJxq5PgBHwRxg8EeJ WdumSJrM4yhqGRchuGlISM4UYQD6i2Dp1I90Z3Og6L601wFW6ww/QV9Ie04GGuj7shsb sq2InphXVCmZxSYUhLTSlaUh1mORzCC4rJYTHlrcRYb+EIjNbB6yr3xg91/KTM0a+K0R wsPA== X-Forwarded-Encrypted: i=1; AJvYcCX4ij5VEwbMcM/fMD/IYhtMg1WOQTf0o1kGFfQuq8vdXbGGs+k7DJuuXwIaiVwKW44drRUpDl5/dQS8g07DRLeNxDUVpHJSsl1eO97mSE/AXtfUg0s= X-Gm-Message-State: AOJu0Yx8/1YvzhW/uEbCXNeyU7qZ77vGbpzY1fwvzUnoWCDrSmRv5dZP 72Ac4rXx+HeSkI1Fou+GF758agO1zIqvTS623JEexFwdGfoLt6Lq X-Google-Smtp-Source: AGHT+IEyP2TS9/8Qy85Y+45YpmvtAjOgeIsLUmtMQMYTPbaD2wIPFr75VbxtQQSyD6Y5jnCC90wdSA== X-Received: by 2002:a17:906:1b46:b0:a66:b9a8:74ad with SMTP id a640c23a62f3a-a66b9a87be9mr10297266b.10.1717059388537; Thu, 30 May 2024 01:56:28 -0700 (PDT) Received: from hex.my.domain (83.8.128.191.ipv4.supernova.orange.pl. [83.8.128.191]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc500a1sm798430166b.125.2024.05.30.01.56.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 01:56:28 -0700 (PDT) From: Artur Weber Date: Thu, 30 May 2024 10:55:52 +0200 Subject: [PATCH RFC 02/11] dt-bindings: power: supply: max77693: Add maxim,usb-connector property MIME-Version: 1.0 Message-Id: <20240530-max77693-charger-extcon-v1-2-dc2a9e5bdf30@gmail.com> References: <20240530-max77693-charger-extcon-v1-0-dc2a9e5bdf30@gmail.com> In-Reply-To: <20240530-max77693-charger-extcon-v1-0-dc2a9e5bdf30@gmail.com> To: Krzysztof Kozlowski , Chanwoo Choi Cc: Sebastian Reichel , Rob Herring , Conor Dooley , Lee Jones , Krzysztof Kozlowski , Alim Akhtar , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Henrik Grimler , Wolfgang Wiedmeyer , Denis 'GNUtoo' Carikli , Artur Weber X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717059384; l=1063; i=aweber.kernel@gmail.com; s=20231030; h=from:subject:message-id; bh=xgN5sPCevFL3dsnXeVkOmW6b6l95Xb66gcGeR/Rr6O4=; b=9yUpKW0zqhfzMTUuyPlJgp1hjyMIPUsM3qmJQhpwZ9btkMmUIBqVTeVX28r/iJnLYrbkUOH0g scqSoAnh1wjB/Y4IQa9qUWVeaaQLf439Ykk2wto1MP50v5dqmKzcqqc X-Developer-Key: i=aweber.kernel@gmail.com; a=ed25519; pk=RhDBfWbJEHqDibXbhNEBAnc9FMkyznGxX/hwfhL8bv8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240530_015630_756517_5117CC9E X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. 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 Allow for specifying a USB connector to use for charger type/OTG cable detection. The way this is done is inspired by the rt5033-charger implementation. Signed-off-by: Artur Weber Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml index 4f80cc5418f5..e5b29a8aed56 100644 --- a/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml +++ b/Documentation/devicetree/bindings/power/supply/maxim,max77693.yaml @@ -71,6 +71,12 @@ properties: enum: [4300000, 4700000, 4800000, 4900000] default: 4300000 + maxim,usb-connector: + $ref: /schemas/types.yaml#/definitions/phandle + description: + USB connector to use for charger type/OTG cable detection. Phandle + to a USB connector according to usb-connector.yaml. + required: - compatible