Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2480726imw; Wed, 6 Jul 2022 06:43:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vnob43N9wA+nX2tNqWGOgiWNf85dSAWys0ixp+Xkpi9X9pLnjyWcFw+PTC4BGsJSw/WQTf X-Received: by 2002:a17:907:3d93:b0:726:3ade:a299 with SMTP id he19-20020a1709073d9300b007263adea299mr39781191ejc.635.1657114995983; Wed, 06 Jul 2022 06:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657114995; cv=none; d=google.com; s=arc-20160816; b=a0cpXUJ6Z6dtG8iblC67+KhhuFhqUVb0tkC4SiU2yCZ1NWnhz6LwLbyJSkQsTiAJwc 5HW9mUTa24PP/+ZNR/U+aKixXM8kGYT4sW39b7clLbVjsOrK55oegMDLktnC71KMv5LP Gk+cnfmNangSRkEwwtfZFzdOKFJV7gs4om6EjQtTPJR/q98APlE79wbujPBA5vvUt5qn qUJUisxIzS32gH6kJCsls3ypJU3KBwaJ5dArKwUzFjU0dI5SX/cT5MxXxbLl5uk/Hxit jeZWbOF1Ec6QEPGNXFPPMrrVYmmwkYL/Cw7gjYcRqWSulrB3qdBHSf1k9YfrZiEj92QK me0g== 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; bh=uG8K5TCC7sxdjE3c1Mf2Wb5uvBnqa9sjeQ+YMSS7DSw=; b=Pz4WoqfN/q4I00QwgWQRMJ+SLASChyxoh75W9kjyEwlsNT/LiCu7FCt77qnEEfusRL UOnblQHOtuB8CW0pQlNADwlWZzrffrNjWelCE2CPess3gWb/5QCBY+v6TyBax6dmL14f QmR4fEOS021J3dNocLCoaktvqVcUo+0JxdwxoAWQFT3clnXe2LxfCz3sSvG5qCF76XEz eySE+VtNV165mi0v0eBwJcoVBxdQlF8yVwZyt5R0aUf6j0gR4kZNS24hdZswEotzXjlV uVKont/VJW40PIZ/0hkUkMoa5FXZgKMq69+DoyRdQMxrYIEegKHcCSL1EyVOj4snwjk6 ss4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho19-20020a1709070e9300b0071216d32d8dsi21307853ejc.673.2022.07.06.06.42.49; Wed, 06 Jul 2022 06:43:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233694AbiGFNhv (ORCPT + 99 others); Wed, 6 Jul 2022 09:37:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233573AbiGFNhj (ORCPT ); Wed, 6 Jul 2022 09:37:39 -0400 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [5.144.164.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B37022B0D for ; Wed, 6 Jul 2022 06:37:39 -0700 (PDT) Received: from [192.168.1.101] (abxi46.neoplus.adsl.tpnet.pl [83.9.2.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 221B13F715; Wed, 6 Jul 2022 15:37:37 +0200 (CEST) Message-ID: <43572937-8505-ddf0-1fe0-99ddfe486c11@somainline.org> Date: Wed, 6 Jul 2022 15:37:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 04/13] ARM: dts: qcom: disable smb208 regulators for ipq8064-rb3011 Content-Language: en-US To: Christian Marangi Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan McDowell References: <20220705133917.8405-1-ansuelsmth@gmail.com> <20220705133917.8405-5-ansuelsmth@gmail.com> <8a394fa3-92fb-d162-b4ee-df010a09aed0@somainline.org> <62c58a60.1c69fb81.25b26.e72a@mx.google.com> <36a68a0b-0c18-deb5-609c-2128aa3fc21f@somainline.org> <62c58fca.1c69fb81.76f6a.15f4@mx.google.com> From: Konrad Dybcio In-Reply-To: <62c58fca.1c69fb81.76f6a.15f4@mx.google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 6.07.2022 15:19, Christian Marangi wrote: > On Wed, Jul 06, 2022 at 03:31:55PM +0200, Konrad Dybcio wrote: >> >> >> On 6.07.2022 14:56, Christian Marangi wrote: >>> On Wed, Jul 06, 2022 at 03:03:32PM +0200, Konrad Dybcio wrote: >>>> >>>> >>>> On 5.07.2022 15:39, Christian Marangi wrote: >>>>> Mikrotik RB3011 have a special configuration where the regulators are >>>>> not the common smb208 controlled by RPM but they use a TPS563900 >>>>> controlled via i2c. Disable the smb208 for this specific device. >>>> Ok, so that answers my question from the previous email. >>>> Please define the SMB208 regulators only in the DTs of >>>> boards that actually use it, as it is not a SoC component as >>>> far as I can tell. >>>> >>>> Konrad >>> >>> This was already discuessed, >> Yeah sorry, I didn't notice earlier and started reviewing patches >> that were already reviewed by others. >> > > Np, thanks for the review. > >> >> rb3011 is the exception, qcom for ipq8064 >>> recommends to use smb208 but gives the option to implement it in their >>> own way. So again we have 28 device with smb208 and 1 device that use >>> its own special way... >>> >>> Wonder if a separate dtsi can be used for this if we really can't put >>> smb208 in ipq8064 dtsi? >> There's msm8916-pm8916.dtsi. You can follow. > > Ok, will put the smb208 definition to a separate dtsi, something like > ipq8064-smb208.dtsi? or ipq8064-rpm-smb208.dtsi? Looks also cleaner that > way. You can create ipq8064-smb208.dtsi that will also contain every ipq8064-plus-smb208-specific configuration, such as regulator assignemnts to in-SoC components (like PHYs, SDHCIs etc.). Konrad > >> >> Konrad >> >> [...] >