Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1623946ybh; Thu, 23 Jul 2020 13:42:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoouF2jB41NgmZFvI2ab/n1J/uM9KFzUipmQVnNOCMJvE5dR6Y/A7Lb9ttBVWJXPDKfACg X-Received: by 2002:a17:906:2b54:: with SMTP id b20mr6075347ejg.366.1595536926542; Thu, 23 Jul 2020 13:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595536926; cv=none; d=google.com; s=arc-20160816; b=m62MYzeWXtiUfB4tsCyu12b4E/Wu5U9ma9JnnT4M6xuyy3hxMuyIhokjvIHPU/7XYl zmPkcUCWDviKKGAYeJBjJHTHZwhTDFR1CXliD7FlZgyhyQIoPzUWQqXe0XWtirXlAnAW OFuDXnWkSpE0NaNY1sjY1fgw3fUyxEjjMpzUpjos2laNbOx4M8TZyFnC3A1WqP5z+6dh 39FQaIeAvKRcmLq1Vq536P8ECAUnEBvUJwRYULOBR562xKQrDImvId9A8FcJEt0pZrqF CrKBK+TL0z5qwVXZ0Dj2V5SPzW7CEfuKlPNPrD9ixYO7oza6H92ECkM1RW1OoICeC9G3 fV5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=DEHuwTmHfM6jPX2Oo9IcWySJbO6MovJApsAE0g9jcS4=; b=D2EcnN11Y2JP13qkgmHq69G754h4gn6Oa8havvAGSc5O5wn+uFJ79r8EEyBGdo3yUP lrDe9qFdXoSjvhQa3qpoA2f+VgLKCEtgBmkKPpUWIi9mAQ8DEvWOdVujxZZTKCmJzxEl EttQpGNXEP/nkGo41w/00Wr57MIEJzsHOQKVlhGbxkXdw4r+o3yCZNClgfJlv2e1pwFz 8h43QY9T31O56qkiql8iMWYnyuQVqvOPMH48XqHpnYy27Uks8R2+UlomTYj6xNczujs9 EdRjFi2t/dNRw6XjOC5Fyl45kEFlWHaiiOUEA+OtjzughLV2DNkZ4GlyOEUD/SSHqNWA hBCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l7opUyK3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz3si2615712ejb.142.2020.07.23.13.41.41; Thu, 23 Jul 2020 13:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l7opUyK3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726452AbgGWUl3 (ORCPT + 99 others); Thu, 23 Jul 2020 16:41:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbgGWUl3 (ORCPT ); Thu, 23 Jul 2020 16:41:29 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 059F8C0619D3; Thu, 23 Jul 2020 13:41:28 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f1so5846252wro.2; Thu, 23 Jul 2020 13:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DEHuwTmHfM6jPX2Oo9IcWySJbO6MovJApsAE0g9jcS4=; b=l7opUyK3fCQXpJQKsFzCdaoNL0cpR9THAbku/w3qFpjV6KsgCq2dVnfO/5qDyydF3o RcW/CUT4UJIoZLxqro8XjYrE8YDayx0FVHCuVUzLhUr/dU0ewNklXcCBo9/xeY8FQv7A wCFCbG4WGkrgNQQqJqVM0jll1OrQiLx7NPo9dAbNnEzS2mh3kaQyIU99lrY+eTCGd/LD OXD+Hl1+Wr9u5gsO0d7jqG/oozWm4ro9rSvQ/TMfhEAIMJy6adLTzssgjAStjStD8K+4 0o8al43yK1CPPk0JMDGrUowYcNnIOoVEGPAy6da/LWfhf1DISsWr66uQNhAPFdTXeWNA a4yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DEHuwTmHfM6jPX2Oo9IcWySJbO6MovJApsAE0g9jcS4=; b=TCEi2nZ0XTRdmLBTmIa+0RTO73T8fr3Ohc+n0ywji0xAD/exKpbdNNxwR4/J7PzTqf scrkDCS2pY3pXoH2iYO4l02eBK6Cb5qFxd3HWzuDrYpNIqtpFTj2qoofkTaCXTVKXtX9 ahSe3qJkJ/o7GlLIF53yRxhBua30oVCybNtm0tIT3ZeGFKogjXMmePz9tthvQvAxvpBM 4XwGxK1L5+1gMMgj0FaTFkqci/dQgsBI4TK0kcSjVxSvOuyUtE/Fc51LUySnQgdKfHrE iCZydhgmPZmoGIGHzaH1is4Z2ZvUJqZqplFU4sKFKz/jE62FRU6U4aaK3mot3J+FjVRS X2VQ== X-Gm-Message-State: AOAM53389Fr0t25t/g3NDbh1/NyOj2LkUWh5S0ujzBb+SYaxpsV6W7+9 PVRxFtXvxQGIpOLJqnXhKFrbI/whaXLmOPLMT5I= X-Received: by 2002:a5d:464e:: with SMTP id j14mr5571416wrs.361.1595536887627; Thu, 23 Jul 2020 13:41:27 -0700 (PDT) MIME-Version: 1.0 References: <20200719145028.3370-3-miguelborgesdefreitas@gmail.com> <20200720112401.4620-1-miguelborgesdefreitas@gmail.com> <20200720112401.4620-2-miguelborgesdefreitas@gmail.com> <20200723174905.GA596242@bogus> <20200723195755.GV3428@piout.net> In-Reply-To: <20200723195755.GV3428@piout.net> From: Miguel Borges de Freitas Date: Thu, 23 Jul 2020 21:41:16 +0100 Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: rtc: pcf8523: add DSM pm option for battery switch-over To: Alexandre Belloni Cc: Rob Herring , a.zummo@towertech.it, baruch@tkos.co.il, linux@armlinux.org.uk, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexandre, Having a way to dynamically change the configuration would definitely be helpful in most cases. I decided to go with a DT property because in the case this patch tries to solve (the cubox-i) there isn't simply any other option - the default mode won't work due to the missing hw components. So, I thought that by defining it as a DT property it could somehow be locked to the hardware definition. Keep me posted Regards PS: Sorry for the second message, forgot to disable html and the message couldn't be delivered to all recipients. Alexandre Belloni escreveu no dia quinta, 23/07/2020 =C3=A0(s) 20:57: > > > > > I'm all for common properties, but is this common across vendors? > > > > This is but this shouldn't be a DT property as it has to be changed > dynamically. I'm working on an ioctl interface to change this > configuration. > > > -- > Alexandre Belloni, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com