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 B8AD6C64EC4 for ; Wed, 8 Mar 2023 08:54:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229844AbjCHIyg (ORCPT ); Wed, 8 Mar 2023 03:54:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229940AbjCHIyd (ORCPT ); Wed, 8 Mar 2023 03:54:33 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64AE6867F4 for ; Wed, 8 Mar 2023 00:54:31 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id ec29so31857201edb.6 for ; Wed, 08 Mar 2023 00:54:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678265670; 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=9wXJYncbOiARunmZOKSz6kRND0RbNFzoKAf3EYsg3Pk=; b=Z4Nk0Hl9fOyYKD8VvPZ6gI+4Uec7H1Mu0xkrBIbRjSW3DCnSWLVQJPnmlsbFEbIzms WNbruvxKVVyLNS3qhHHMzHmyrh1LqPNyEdkY1rCG/HO7wRe/HZIZKwSQO2wsbHE1S4S6 lhxbBl8xbZ6KkcTOe8MxIQIw3nyhV1cfXUJVfylAw5fcgKHGpFqDboBL4WA+hzpsTfC/ RUhzpFmGHgTpI5UOJOLBQszvhp3bAUIdG8D4FW7f6uqBy9HiMaNyh37XaPRQh1INjskt +1B/8I4nR2sX6zaL1JEtu7HrqyLL9lYPXTulGXrnYRdnp0PGpidRejUn/C+9DcR0KD1Y AFnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678265670; 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=9wXJYncbOiARunmZOKSz6kRND0RbNFzoKAf3EYsg3Pk=; b=fdJIUU5iScvFDCMD1Mk5rX6y/singv3CnDunFUkgtUa9MUsOYC6e+VWeY1C8wLchNt EBZePJ2fJOKsfbGmiL1PrzJQE6okb9FnivT2ngfojugBZ8aJwynugMMyqBb6ciR42RRf 34VA5WCmdZBvizE0GOa41Mt/O5Sp0ktY/bYhwlAVOgjC5HON53zY5IOVX7WfiCQTnmWR Ao71MFCy8jnxo3rcLfGtxW6iUYmXMhCo2uFouSQ9E05PyMfwjt4SbKe7Sr1zubK400sG ldrIZwfe7b3m4o6zWaCstIEBrSn4G9AMm1qjCCAc2LviHBUxDD1Hkl+fnSkejUu3w8g3 V58w== X-Gm-Message-State: AO0yUKXyjSxbADZFDHvvOLVtdz+BSx1K6xhni/jL8+n7fijt37KpUiFR MSZAy3O4jE9eoyP969cb5TDaZg== X-Google-Smtp-Source: AK7set8aYmJmqPbijFinM6/sYgccOjJZfPSh7uxinVuf9CDteUBGnnPPXNZkg2LVcl5gClw6ClB5YQ== X-Received: by 2002:a17:906:1515:b0:8b1:279c:82c7 with SMTP id b21-20020a170906151500b008b1279c82c7mr16860619ejd.50.1678265669876; Wed, 08 Mar 2023 00:54:29 -0800 (PST) Received: from ?IPV6:2a02:810d:15c0:828:bba:fbfa:8aec:a133? ([2a02:810d:15c0:828:bba:fbfa:8aec:a133]) by smtp.gmail.com with ESMTPSA id ca5-20020a170906a3c500b008bc2c2134c5sm7198574ejb.216.2023.03.08.00.54.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Mar 2023 00:54:29 -0800 (PST) Message-ID: Date: Wed, 8 Mar 2023 09:54:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v1] max77663-rtc: pass rtc address from device tree node if exists Content-Language: en-US To: Svyatoslav Ryhel , Chanwoo Choi , Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org References: <20230308083759.11692-1-clamor95@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230308083759.11692-1-clamor95@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/03/2023 09:37, Svyatoslav Ryhel wrote: > MAX77663 PMIC can have RTC on both 0x63 i2c address (like grouper) > which is main address but on some devices RTC is located on 0x48 > i2c address (like p880 and p895 from LG). Lets add property to be > able to use alternative address if needed without breaking existing > bindings. Use subject prefixes matching the subsystem (which you can get for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching). Anyway this is not max77663 driver. The property does not make sense in the context of max77686. Maybe for max77802/77620 and 77714 would have... but still max77663 is not there. Don't add properties for unrelated and unsupported devices. Best regards, Krzysztof