From mboxrd@z Thu Jan 1 00:00:00 1970 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 7032CCCA473 for ; Fri, 3 Jun 2022 22:21:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346261AbiFCWVD (ORCPT ); Fri, 3 Jun 2022 18:21:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231882AbiFCWVA (ORCPT ); Fri, 3 Jun 2022 18:21:00 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B04DE30547 for ; Fri, 3 Jun 2022 15:20:59 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id r82so16048019ybc.13 for ; Fri, 03 Jun 2022 15:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iBmGnyk/fT87aTvwCZ7SGg/w21dxvgBIz/PICCr/er8=; b=pS+AMKNqRiVvzo6ZVTD8dg69G/k4sqIacy5qIAm7y+4E5KP1VLpfWKv1Rucnx/2Q1F xutvw/gH7feLph6noEf1cY2ysvt9kdh3wzl8TASEtEwEkxF05jukK89RfkikcZet2X2B lWkD+7WUqf62+qGfPl+PkldnQIwcwgW4P0iSM3IzfdI7I7oGUAa/MzkF0bjh1CWL8tiJ gwvDDxR0juJe4TX38pAAnF5VC0BiyWUnrOX2lHZW+VJTTewwdcUHAditX1EXWRnVcd7m KzHLHsLkdDAQykNefJFpyj4NT+0AJ8Ed+/pN81fYcViOF8Nvxwb8PjSmh1GgxP5xhaBc cyMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iBmGnyk/fT87aTvwCZ7SGg/w21dxvgBIz/PICCr/er8=; b=Kt6/PZCgY4ugRBu+RxExXFhpdwjUZmtoQX7ZmFDs/X5ImF2LPve3SN8kYZ2Mmjs6n9 TZYfadz04O8XNIze0zXnSY3O3uHcVn/wiR30SNJRIf03PWCNjemXUemT4J3NPupHeEFo tBOttae2sWcyz0RakWqobxQdSz90nhJGgLB1rUpdX1huhHcM4fS+l/vnd0yO0EJcH7VX jfcXqn2ubuly4jyb0GsVxY09zimL/GKGE2aqeZbGLJIXv8JpWAU/sP2OsiS7X1LUNylu K8fuVqrL/4xvejyiYgVDvhf1YV3+GcTQPbXh9hv5N/A14fUZ+RSx76mDXsIsyMdhKVgO 0s9g== X-Gm-Message-State: AOAM5339XVXRIWP4r+R9dJoxsGoH5bxsjoFDE8DOAu5yqlBqdPcQykP8 nsYQR3YYRT20tRZuKYBY6Pmj3mLDK3zKMNZPr39fCpW6jIw= X-Google-Smtp-Source: ABdhPJz3MCvbJp+EF5TmzD/07fbTOmvJe9al4WPPRfctVqBJzUo1AAw8BTN7TagCtID6Uu8GNv7hKbBDl0Y9BxX+T4I= X-Received: by 2002:a25:dc0b:0:b0:65d:e5d:a87a with SMTP id y11-20020a25dc0b000000b0065d0e5da87amr13101954ybe.295.1654294859010; Fri, 03 Jun 2022 15:20:59 -0700 (PDT) MIME-Version: 1.0 References: <20220526143707.767490-1-krzysztof.kozlowski@linaro.org> <20220526143707.767490-8-krzysztof.kozlowski@linaro.org> In-Reply-To: <20220526143707.767490-8-krzysztof.kozlowski@linaro.org> From: Linus Walleij Date: Sat, 4 Jun 2022 00:20:47 +0200 Message-ID: Subject: Re: [PATCH 7/7] dt-bindings: pinctrl: deprecate header with register constants To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Tomasz Figa , Sylwester Nawrocki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 26, 2022 at 4:37 PM Krzysztof Kozlowski wrote: > For convenience (less code duplication, some meaning added to raw > number), the pin controller pin configuration register values > were defined in the bindings header. These are not some IDs or other > abstraction layer but raw numbers used in the registers > > These constants do not fit the purpose of bindings. They do not provide > any abstraction, any hardware and driver independent ID. With minor > exceptions, the Linux drivers actually do not use the bindings header at > all. > > All of the constants were moved already to headers local to DTS > (residing in DTS directory), so remove any references to the bindings > header and add a warning tha tit is deprecated. > > Signed-off-by: Krzysztof Kozlowski This looks like something that needs to be merged on top of the other patches so if you wanna merge this through ARM SoC: Reviewed-by: Linus Walleij Else just tell me a merging strategy and I'll use it! Yours, Linus Walleij