From patchwork Sat Feb 17 16:31:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danila Tikhonov X-Patchwork-Id: 202653 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp406058dyc; Sat, 17 Feb 2024 08:33:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX8JgOuXVm2qXGPmTPtj71Pie8oL83JAec9nxxtPHkYg0NAh4P7qbvEMrKXFtHQIqJ9NDWYd868XT3eik9mHE3lUX+jFA== X-Google-Smtp-Source: AGHT+IEMq2QK1XqD7teXH7w9H4eS+EV2TKQ/FtDHcMzza+ouK2RfR/65UVS1lhHEapTEnkbt2kfh X-Received: by 2002:a17:902:ec90:b0:1db:c564:5938 with SMTP id x16-20020a170902ec9000b001dbc5645938mr2767053plg.60.1708187597393; Sat, 17 Feb 2024 08:33:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708187597; cv=pass; d=google.com; s=arc-20160816; b=VpNEM42/0Y5XisZJU7fmIZ/rNgmCB0ZtCD3nd8/u2vmkM6Tgb7DfzKwbQdEN861vjF 1LHOu/Y6TzcOjBw9NwhVj4lzohk+jFr+WnmyvMBKTur3HBvSbxp+3LEwPAtQ+5N8zgKn CLrZ0G5i1LT2canoW5TNYhmAmGEuyVUfsHnOE4c28pf1bbFFe1o2z9Y5YnVDwW+8PkAi qVzmAugV9O64593EV4XaRpRHfpNqdaENr7ECeZEMpOSZeydQIMHYoy0EFpZkBEpvpNOp L2+PaFaH1qeEcsCYcubhq0ajslRHlDVkaYQvm+JqM4TuJcQ8XweKbcn3IcptG0wJNOro ljAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=NY9B+4+cpsLoLT1jzbvWL05VBzs1bDxK9GdCmEiPiUw=; fh=wYrQRPcBMfgjHZp9RXy87FKiV6n2XxOaYorTaYsNrJw=; b=U2t3PUdQB1SZe8jyW3pASFqCzFtg1hAb9zzv61tFAoLif23IjG+35EgTBsN50xUO81 LpErz2bYxlXSC4m9E+a1gez/U7qCXxGO5hesZTtjbnmESLpwSWK4NQxE0T6S1IiTNg/9 q9pLt7cUeGEs2H1Zbf/ZL64bk8qyarW/uELv3d2CET65gt+B/D7AtU74ijzy5ITrbyCQ QsNeMirkuKtLbM4lHuGukRjjUPSwn9vzn/LCutQGTzd/2ENrOREDMcrkDEcqWcxW4yq6 C9a3em+nsV00ImOUnMz3WfV4SbMLmDY1EliNJqFCO0vtnsnYV5lJHBwRs/eTfUY9AprR RuRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@jiaxyga.com header.s=mailru header.b=PhCBeUud; arc=pass (i=1 spf=pass spfdomain=jiaxyga.com dkim=pass dkdomain=jiaxyga.com); spf=pass (google.com: domain of linux-kernel+bounces-69970-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69970-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u11-20020a17090282cb00b001d93b25f1c5si1614741plz.474.2024.02.17.08.33.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 08:33:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69970-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail header.i=@jiaxyga.com header.s=mailru header.b=PhCBeUud; arc=pass (i=1 spf=pass spfdomain=jiaxyga.com dkim=pass dkdomain=jiaxyga.com); spf=pass (google.com: domain of linux-kernel+bounces-69970-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69970-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3AC2828247E for ; Sat, 17 Feb 2024 16:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11C037E570; Sat, 17 Feb 2024 16:32:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=jiaxyga.com header.i=@jiaxyga.com header.b="PhCBeUud" Received: from smtp53.i.mail.ru (smtp53.i.mail.ru [95.163.41.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE79F2D78A; Sat, 17 Feb 2024 16:32:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.163.41.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708187538; cv=none; b=ouT4/w6ylkE+gPJVllbrGc0Y5cWFwJrPL2gWMDyyjmNI6emlXAzxPEh+Dt+wRkdUTo7PdkCMEvnzuTtSnFsEYSU8qS4QBdBn6toqeXK2merL6dhGHv7MJxI0uT4UnUkyDLWv70YgjLq40kGU9QhwPgPP2U9XxE+UN4OcW0bwRDA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708187538; c=relaxed/simple; bh=NpzWXTcS3jEtpjE8EmWMrc4bUN9vllwa+PpzMYwrV4I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tyq97S1LuCA4tlFiY0e3dKt0ktTXlmqAC9uKmWnLynt6dNeRkeFyduZVTKHVNiN3vSro+wUkb1T3x06E8lW55DdgWUJ2ozEa3rlxkLolZy2fZUwwrH0xID5hkkwl2yelhikAudpe5+f1JAipJT1JnzVC83rZaXO1Ea4yyF7VbO8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=jiaxyga.com; spf=pass smtp.mailfrom=jiaxyga.com; dkim=pass (1024-bit key) header.d=jiaxyga.com header.i=@jiaxyga.com header.b=PhCBeUud; arc=none smtp.client-ip=95.163.41.90 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=jiaxyga.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jiaxyga.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jiaxyga.com ; s=mailru; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:To:Cc:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive: X-Cloud-Ids:Disposition-Notification-To; bh=NY9B+4+cpsLoLT1jzbvWL05VBzs1bDxK9GdCmEiPiUw=; t=1708187534; x=1708277534; b=PhCBeUud4W7SvmyTgo8E/ImrRW4u9opLHNlIrGOpiFOLjJQFIkiL80nWW5RB1H5ITSrzJY8FNKK zxCA/tSxSzsF4u2MbJl/ku6Y+r4OjIhGYSc2Iy95ZiusOKkB+dQSxDs/ZFKuWQz48Wcf1ZjGKk0qo twiN4c4MYACDC/i+XMc=; Received: by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1rbNbh-00000008KBa-2RSl; Sat, 17 Feb 2024 19:32:06 +0300 From: Danila Tikhonov To: andersson@kernel.org, konrad.dybcio@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, bryan.odonoghue@linaro.org, gregkh@linuxfoundation.org, quic_wcheng@quicinc.com Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Danila Tikhonov Subject: [PATCH 1/3] dt-bindings: regulator: qcom,usb-vbus-regulator: Add PM6150 compatible Date: Sat, 17 Feb 2024 19:31:59 +0300 Message-ID: <20240217163201.32989-2-danila@jiaxyga.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240217163201.32989-1-danila@jiaxyga.com> References: <20240217163201.32989-1-danila@jiaxyga.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Authentication-Results: smtp53.i.mail.ru; auth=pass smtp.auth=danila@jiaxyga.com smtp.mailfrom=danila@jiaxyga.com X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9001F8F2F6BAD2021F4B2298ADA324AF845E72D0936C1870D00894C459B0CD1B99498832C46A3B563DCA9057F3E010A39D4F491CE2C246BAD74EE5BCF6350D8DFF8D9167951636918 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE712EB008F780777E9EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637575FD8E213AF258FEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B73AB1701401CD87112BB0459AB265946D8FB8B71F2D854CF976FF846DCE0F064A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE75A31C54DA8CF07A79FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C31E02C13459908652117882F4460429728AD0CFFFB425014E868A13BD56FB6657D81D268191BDAD3DC09775C1D3CA48CFA5E65DE02FE18DC9BA3038C0950A5D36C8A9BA7A39EFB766D91E3A1F190DE8FDBA3038C0950A5D36D5E8D9A59859A8B610E0EE4CC70ADCD076E601842F6C81A1F004C906525384303E02D724532EE2C3F43C7A68FF6260569E8FC8737B5C22494854413538E1713FE827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B69D08779BC02C26AD089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A5022C2493086D79C25002B1117B3ED696BD744D3CFCDF283DD57BAD45EC4C5DE1823CB91A9FED034534781492E4B8EEAD21D4E6D365FE45D1C79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF66175219C00CC020F649BF59DD420E7E38D2D284EB22FBD4E7148776B77D84C5760962882471415B34E84B500378195F067A5F499AA30BBB0B037B6FA0204BA50E9D16A2321A347A457F7985AD47CF5C02C26D483E81D6BE72B480F99247062FEE42F474E8A1C6FD34D382445848F2F3 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojWUnWVIzXWr6jHO7sqTFYew== X-Mailru-Sender: 9EB879F2C80682A09F26F806C739498170F032DA97786BD2E693A2F4CD4B100058B063E2F751C6A6BC3FD4D0B4F8691A2C62728BC403A049225EC17F3711B6CF1A6F2E8989E84EC137BFB0221605B344978139F6FA5A77F05FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791164518530146281 X-GMAIL-MSGID: 1791164518530146281 The VBUS register block on the PM6150 PMIC shares the design with the PM8150B one. Define corresponding compatible string, having the qcom,pm8150b-vbus-reg as a fallback. Signed-off-by: Danila Tikhonov Reviewed-by: Krzysztof Kozlowski --- .../bindings/regulator/qcom,usb-vbus-regulator.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml index 534f87e98716..bf6336850be6 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml @@ -19,8 +19,13 @@ allOf: properties: compatible: - enum: - - qcom,pm8150b-vbus-reg + oneOf: + - enum: + - qcom,pm8150b-vbus-reg + - items: + - enum: + - qcom,pm6150-vbus-reg + - const: qcom,pm8150b-vbus-reg reg: maxItems: 1