Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5621982rdb; Sun, 17 Sep 2023 05:17:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmB7DJDm+rOldl6a2wtcvoqIfPa+TbY3nXWrFaQSny1x+bO83bcy6BFpLauQbe3RccSpBQ X-Received: by 2002:a05:6a20:144e:b0:159:dccb:8bb4 with SMTP id a14-20020a056a20144e00b00159dccb8bb4mr6536314pzi.23.1694953071403; Sun, 17 Sep 2023 05:17:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694953071; cv=none; d=google.com; s=arc-20160816; b=r3S0p05wx+s1th5vA42dj1+DN8Vs7vujGIuWAeGY40YL+pAiXkZMU8PpWmuaUdd+cB cZbQXAHv3ReHQln+QQ1fkH6i1on+MyJdIy0OH1kc4o8gQOQRW9NNZtTWJlFaRtzgaUI7 eLh/Ha9azWccTaHDbVsBtZFOd9Jwt7hOiOHI5DfrDDCJErYz6La+z/lfGom9z/g0ZOmM 91w0Ax5iaWrmoI1B8NmqH+giuxzPu9s2Vw7C16p36dFFvP6xkeTx6p9G/GR24Ktk22m5 BaVGbRsWRPBeMzHo423q6NFVNiYnnNJ0omYzc7NJ2FMuxiOHl7v30IxEeVvViCdYbvvn WJ5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=NxqlGhwY2fUZ1yfWj7spM6aDi6ioSNbYpolJVQsFDKM=; fh=5a9xNd0xtIs3baHjoaOHC3GglsY9eXBAydd1f8UCEmM=; b=BC80rZsSdge9HL2Ie5MBqywdrcQKcN89h/fIwVtWPxP2UtE9ujeZHu7KnuUD3GthW0 mox13vssFI3TDkokZjfgPaNhcPinrAN2ZPombQAABdAxeIcNi+koeDfUnsERlcjteCjG FC5ETCBDgN5sj0Baxdo7X+k0tfAb7bjHRPoNvhx90lrYb6BRxN5kjxCpMWLq3KXGCJRy Uvlt1x67ClGirqYHjvY/gFEmLe6CYZYIauU2NKPkriGSv0EEN/HgsytXFrkJeE9hAz0t WDIcpVFYPxbER4UCQIiAC2sMqlCHlqPGxaH/nUdPhFdrEp1vdKS8+TTnH+YxXM0wVSNm Y7sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=siugGCj9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s1-20020a63dc01000000b00573fc6a17dbsi5977193pgg.435.2023.09.17.05.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 05:17:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=siugGCj9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id DD08381D80A4; Sun, 17 Sep 2023 02:15:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235658AbjIQJOi (ORCPT + 99 others); Sun, 17 Sep 2023 05:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235758AbjIQJOJ (ORCPT ); Sun, 17 Sep 2023 05:14:09 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31FD71B1 for ; Sun, 17 Sep 2023 02:13:56 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9ada2e6e75fso460671066b.2 for ; Sun, 17 Sep 2023 02:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694942035; x=1695546835; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NxqlGhwY2fUZ1yfWj7spM6aDi6ioSNbYpolJVQsFDKM=; b=siugGCj9SZS0BomloQwlUv1zg2uym/mHjE3Cy4jXcFYhsbLkY13zo0nLIywJXZ4wrd P8b3cpWJSFwI6V2KMwec4kWa55/5neHTSqgOURkShunFfaXgpsW41Tougnesf/xt/L3j CIJJH5W57cCHlCb7STf7NPrNttsetjJs8YtOQTP0zcv8ST9cNzIOe0HlSRFKEn30JePj xiCP8Y4i7IWxxKTw57Qu4VKC4wvmWX8rbYTtTsiUYoKl59l2sWD2Yym6qoFib261Bvvd SzmvZtGa16RE9IpbegxEuK3RmBSX0w9QmGzSZSXFccNCxjAM8CjAzHXDr9ghbXC+E+RQ g1Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694942035; x=1695546835; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NxqlGhwY2fUZ1yfWj7spM6aDi6ioSNbYpolJVQsFDKM=; b=pt9rlLWJGqew1S9r3zWanhCyWxqr0IkfdMCaB0ClbpMLWT+EKLCZE7JmzCQ+uEJ1rP aeTPF8sUjymvo71Y6589SaQlT7mnOJoWmE5aizXgSuJk94KNXDed8kmJXGs++oK1TKIX xDXcgKxSMFDZSUkndDFDbtAQxRxo77JBpLJx0MBgq80quJgyy2zY1STlTW6xAW+PWVgH 11P2/yD4psEcYZMwLTFhjV0Ugs4zYbSpy1G2N8iMgXu1N1zEHNYx7mi4MS0i34d4p1c0 QTd3rK6Pd0FBhpGV3dtYe245lLibYGWusfBz7cKoOSdG375b1kHOHYVMvO/gjZjee3Jz OPUA== X-Gm-Message-State: AOJu0YwYh8A9RcSJDHHd62MfwLXEy12nPJA7tz+Gt+aPefWWgN8OZjMF ChDX3sbvWbA86jf16sZF9a+A7A== X-Received: by 2002:a17:906:8a4c:b0:9a9:dfbe:ca99 with SMTP id gx12-20020a1709068a4c00b009a9dfbeca99mr5709211ejc.10.1694942035483; Sun, 17 Sep 2023 02:13:55 -0700 (PDT) Received: from [192.168.1.77] (150-140-187-31.ftth.glasoperator.nl. [31.187.140.150]) by smtp.gmail.com with ESMTPSA id o10-20020a1709061d4a00b0099293cdbc98sm4781973ejh.145.2023.09.17.02.13.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Sep 2023 02:13:54 -0700 (PDT) Message-ID: Date: Sun, 17 Sep 2023 11:13:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH 1/3] dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc Content-Language: en-US To: Nikita Travkin Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht References: <20230916-pm8916-dtsi-bms-lbc-v1-0-7db0b42f9fb1@trvn.ru> <20230916-pm8916-dtsi-bms-lbc-v1-1-7db0b42f9fb1@trvn.ru> <18bef7a4-608b-9ba3-ce8f-ca25999705c3@linaro.org> <011074e5-cec2-1c69-7324-30d9ab653577@linaro.org> <27adb905b990398989b4c13f03339ae9@trvn.ru> From: Krzysztof Kozlowski In-Reply-To: <27adb905b990398989b4c13f03339ae9@trvn.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 17 Sep 2023 02:15:16 -0700 (PDT) On 17/09/2023 10:54, Nikita Travkin wrote: >>>>> + "^battery@[0-9a-f]+$": >>>>> + type: object >>>>> + oneOf: >>>>> + - $ref: /schemas/power/supply/qcom,pm8916-bms-vm.yaml# >>>> >>>> That's just ref, so no need for oneOf... unless you already think this >>>> will grow with different schemas like the charger below? >>>> >>> >>> Yes, I think some other PMICs have different battery/fuel-gauge >>> blocks too so I'd like to have some room for expansion here. >> >> There is always room. Which other device will have different battery >> charger? >> > > I know of non-"VM" BMS block in PM8226. It's used on some Nokia > devices that people were working on so I expect it to appear in > the future. > > There is also some BMS block in more modern PM6150 that I've > seen being looked at by people interested in bringing sm7125 > phones upstream. > > Both of those, to my knowledge, are completely different from > this VM-BMS block, which I believe was present in the generation > of pm8916, pm8909 and was abandoned again shortly after... OK, sounds good. Best regards, Krzysztof